Shader Questions...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
speewave
Posts: 12
Joined: Wed May 14, 2008 3:02 am

Shader Questions...

Post by speewave »

Well I've Been Experimenting With Many Colors with ATI's Car Paint Effect found in that Radeon 9700 Demo... Since about 3 Shaders Will be based on this (Full paint,No Flakes,Pixel Shader 1.4)...


Can i Send the Colors out to the parameters of the Effect via Irrlicht... I know XNA Could do it, but i think i became addicted to irrlicht so i droped XNA.. (yay for n00b support Irrlicht!)

Note i'm in Irrlicht.NET CP, i know i'm on the wrong forum (or maybe i'm not...) Just give me the C++ Code or any answers and tips i need.. Thanks!
speewave
Posts: 12
Joined: Wed May 14, 2008 3:02 am

Post by speewave »

help?
torleif
Posts: 188
Joined: Mon Jun 30, 2008 4:53 am

Post by torleif »

Yes you can pass parameters to the shader in irrlicht. The shader example in the irrlicht examples folder passes in the position of the camera. Of course, you have to write/ download a shader that supports your desired effect (I presume by 'colors' you mean color tint?)

XNA only supports HLSL. You can code Pixel shaders for irrlicht using Assembly, Cg, GLSL and HLSL, so really you're only limited by your coding abilities.
Post Reply