You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
I wasn't able to find this topic in the forum so I'm hoping that somebody might know if there is an irrlicht material system equivalent way of dealing with the following code:
We haven't added this to Irrlicht so far. You'd need to add a new material, or add a material parameter (the latter would require larger changes of the engine, though, while the former is possible from user code).
hybrid wrote:We haven't added this to Irrlicht so far. You'd need to add a new material, or add a material parameter (the latter would require larger changes of the engine, though, while the former is possible from user code).
Thanks for answering.
If I was to add a new material, would setting the BlendFunc in the OnSetConstants() call work best?