@11110 wrote:
Can anyone tell me the best way to use same shader among multiple model.
Eg no 1.
Shader 1 -> model 1
Shader 1 -> model 2or
Eg no 2.
Shader 1 -> model 1
Shader 1 (clone new 1) -> model 2i hope someone able to understand it.
The reson i asking this, because of when i draw model1 i have 2 textures have to set shader 1, When i render model2 i have only 1 texture and here come with the problem, the 2nd texture cache from model1 remain in the shader.
Posts: 1
Participants: 1