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)
Question about Shaders
Question about Shaders
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
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
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.
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