vertex shaders with irlicht?

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
Azrael

vertex shaders with irlicht?

Post by Azrael »

Considering the engine is open sourced has anyone started wiorking on allowing vertex shading for it? How could I modify the rendering engine to allow shaders ? (in theory)
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

I don't know much about them really, I guess with some research into how they work ( gamedev.net would be a start ) would be able to help. It seems like something that is a lot of work to do, that's probably why it hasn't been attempted yet. Beyond my skills for sure :)
Luke923
Posts: 59
Joined: Wed Nov 05, 2003 5:26 am

Post by Luke923 »

I don't know about anyone else, but I have tried working on this, yet I've had no luck in getting this working. The methodology I was trying to implement was to enter into CVideoDirectX8.cpp (I know, but I'm a DX kinda guy), modify the setVertexShader() function to allow the programmable pipeline, and create a public string inside CVideoDirectX8 to pass the shader from the game code to the class. There were other things that I was doing, but memory fails at the moment as I haven't messed with it in about two months.

If anyone wants to work on it, the best place to start is http://www.gamedev.net/columns/hardcore/dxshader1/, which is a good resource.
"Object-oriented programming is an exceptionally bad idea which could only have originated in California."
- E.W. Dijkstra
Post Reply