ulf.schroeter Posted March 3, 2011 Posted March 3, 2011 Proposal Optional material texture rotation, details see here
frustum Posted March 4, 2011 Posted March 4, 2011 Sorry but we can't add this extension into the default material library. Right now we have 10924 shaders combination for meshes. Adding another boolean option into the meshes will multiply the number of shaders by two.
ulf.schroeter Posted March 4, 2011 Author Posted March 4, 2011 Sorry but we can't add this extension into the default material library. Right now we have 10924 shaders combination for meshes. Adding another boolean option into the meshes will multiply the number of shaders by two. I see, shader permutation explosion...so what would be the best way to handle the initial user requirement ? Inherit a user material e.g. mesh_texture_rotation_base from mesh_base, add non optional additional base_rotation parameter to it and and copy+modify original core\shaders\meshes\vertex_base.shader to include rotation code ?
frustum Posted March 4, 2011 Posted March 4, 2011 I see, shader permutation explosion...so what would be the best way to handle the initial user requirement ? Inherit a user material e.g. mesh_texture_rotation_base from mesh_base, add non optional additional base_rotation parameter to it and and copy+modify original core\shaders\meshes\vertex_base.shader to include rotation code ? Yep, this is a best way to achieve the result without any problem with core shaders and materials upgrade.
Recommended Posts