Irrlicht and Shaders?

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!
Post Reply
cooljayman
Posts: 22
Joined: Wed Mar 05, 2008 8:25 am

Irrlicht and Shaders?

Post by cooljayman »

I have a few questions about shaders and irrlicht? How is it possible to do multiple passes? How can I do post effects?(Not sure how to set up the shader to do ts thing on a renderdertarget). Is there support for .fx files?
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Use this:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=60029

Theres no support for FX files in terms of techniques/passes etc, so you'll have to implement/parse those yourself. Although the shader code itself inside FX files usually copy/pastes straight into an HLSL script.

Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
cooljayman
Posts: 22
Joined: Wed Mar 05, 2008 8:25 am

Post by cooljayman »

Thanks heaps BlindSide, looking at it now, but only getting a black screen, when I move back I see the rendered quad but its not attached to the fps camera, shouldn't the vertex shader be rendering the quad on the screen?
Post Reply