Jump to content

Optional texture rotation


photo

Recommended Posts

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

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

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
×
×
  • Create New...