Multiple calls to a shader
Posted: Sat Feb 10, 2007 10:26 am
Another newbie question....
I am fairly new to Irrllict and I am still trying to figure out how to use shaders.
Is OnSetConstants called once per frame update? Previously I had some MDX code that would set shader constants and update the vertex shader multiple times per frame update. Is it possible to do this?
Apart from the samples there seems to be very little documentation on the architecture of Irrlicht and how each interface behaves with another.
![Confused :?](./images/smilies/icon_confused.gif)
I am fairly new to Irrllict and I am still trying to figure out how to use shaders.
![Confused :?](./images/smilies/icon_confused.gif)
Is OnSetConstants called once per frame update? Previously I had some MDX code that would set shader constants and update the vertex shader multiple times per frame update. Is it possible to do this?
Apart from the samples there seems to be very little documentation on the architecture of Irrlicht and how each interface behaves with another.