ulf.schroeter Posted March 3, 2011 Share Posted March 3, 2011 Proposal Optional material texture rotation, details see here Link to comment
frustum Posted March 4, 2011 Share 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. Link to comment
ulf.schroeter Posted March 4, 2011 Author Share 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 ? Link to comment
frustum Posted March 4, 2011 Share 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. Link to comment
Recommended Posts