for Shader
Posted: Fri Dec 14, 2012 12:37 pm
Hi,
I look for very simple examples for different objects to learn easy.
The ShaderDemo is very complex for me, and I discover this video:
http://www.youtube.com/watch?v=R2qwSk5Rk1o
It is micro example for the Shader using.
But when I try it - it does not work. Nothing! Like the Code it the Shader are not compiled generally, because I try to wright erroneous commands and it did not detect them.
And so, the RenderNet displays as no Shader object. Why?
Sorry for the stupid question, but I have too little tutorial information.
I attach my try project - it not work. But I discover another possibility - to code the RenderVertexExpression - it seems that I can achieve the same things as when the Shader is used! Why the Shader must be used?
P.S. May be the problem is in Version which I use - 3.0.0b, in the video is used old version of ZGE.
I look for very simple examples for different objects to learn easy.
The ShaderDemo is very complex for me, and I discover this video:
http://www.youtube.com/watch?v=R2qwSk5Rk1o
It is micro example for the Shader using.
But when I try it - it does not work. Nothing! Like the Code it the Shader are not compiled generally, because I try to wright erroneous commands and it did not detect them.
And so, the RenderNet displays as no Shader object. Why?
Sorry for the stupid question, but I have too little tutorial information.
I attach my try project - it not work. But I discover another possibility - to code the RenderVertexExpression - it seems that I can achieve the same things as when the Shader is used! Why the Shader must be used?
P.S. May be the problem is in Version which I use - 3.0.0b, in the video is used old version of ZGE.