Glow OpenGL shader ... NOOB!
Re: Glow OpenGL shader ... NOOB!
hmm .. it is 2 shaders seperately, so how do i actually achieve a multi-shading technique in irrlicht?
Re: Glow OpenGL shader ... NOOB!
You can serially select any number of shaders. As in the snippet, the shader is selected before the render is called.
Is this in custom scene node? The calls to smgr->drawAll are sure to cause a problem somewhere. Or, to put it another way, the code looks like neither custom scene node code nor render target code.
Is this in custom scene node? The calls to smgr->drawAll are sure to cause a problem somewhere. Or, to put it another way, the code looks like neither custom scene node code nor render target code.
Re: Glow OpenGL shader ... NOOB!
i am not sure, could you provide me a sample of code that display 2 shaders? any simple one will do..
Re: Glow OpenGL shader ... NOOB!
You can't run two shaders on the same node in the same pass. Is your problem that you are you trying to use two materials? If you think you can combine two passes into one, well, you can't.