Loading QShaderEdit Files in Irrlicht

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
egrath
Posts: 28
Joined: Wed May 13, 2009 8:15 am
Location: Austria
Contact:

Loading QShaderEdit Files in Irrlicht

Post by egrath »

Hello,
i am using QShaderEdit to develop the GLSL Shaders needed in my application. The output format of this application is a mixture of the Vertex and Fragment Shaders and predefined Parameters used during the Shader Development.

In Irrlicht you can either load pure Vertex/Fragment Shader Files or create the shader from a string - and that's exactly what this little class does: Read the File produced by QShaderEdit and return the Vertex and Fragment Shaders on request for use in the method irr::video::IGPUProgrammingServices::addHighLevelShaderMaterial

Download it here: http://depositfiles.com/files/a3bscpha0

Bye,
Egon
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Nice. Adding a .bin to the pack and some screenies of some of the capabilities would be even better. :wink:
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
Post Reply