Question about Shaders

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Question about Shaders

Post by REDDemon »

I'm really disappointed about shaders.
I'm trying to understand lot of things without success.

For ex. If I want to check the compability of a shader program with
a specific version of GLSL where I have to check to?

How can I know if a function is supported for example in GLSL 1.2 and not in 1.3?
Does exist something that check compabiilities of gpu programs automatically?

Does irrlicht support ARB assembly languages for gpu?

Is there any simulator for check if a gpu programs works? (I know only that debug a GLSL program is not easy)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Mel
Competition winner
Posts: 2292
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Post by Mel »

You can try and check any external shader editor, if the code you create works there, then, it is highly probable you have support for it. After all, the shader compilation is a task external to irrlicht, it is handled on the system's driver. And yes, Irrlicht supports assembly shaders. Some of the internal materials are written actually like that. Check Example 10 and the OpenGL shaders in the media/OpenGL directory.

I use RenderMonkey (in Windows). It is simple, you can edit and recompile shaders quick, see the results fast, supports GLSL and HLSL and it is pretty small and useful.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Post by REDDemon »

thanks so much :)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Post Reply