Gibbz
10-31-2006, 11:04 PM
Is it possible to pass custom per object data into DX9 shaders, and then setup the shader to read this information?
For example each object will have a unique texture related to it. I would like to pass this texture path into the shader. Then the shader will use this texture in the shader to give each object with the same shader a different look/texture.
For example each object will have a unique texture related to it. I would like to pass this texture path into the shader. Then the shader will use this texture in the shader to give each object with the same shader a different look/texture.
