I am using Nvidia CG and Direct3D9 and have the question about the following code. It compiles, but doesn\'t \"loads\" (using cgLoadProgram wrapper) and the resulting failure is described simplyas D3
When i add shaders (in cg) to my opengl program all the local transformations (glRotatef, glTranslatef and glScalef between glPushMatrix and glPopMatrix) stop working. Transforms outside push/pop stil
I want to try a lighting example from the book OpenGL ES 2.0 Programming开发者_JAVA百科 Guide. In the shader they have made two structures.
Ok, trying to debug another problem I have, I decided to make sure my texture was rendering properly in my fragment shader. But, it doesn\'t. All I get is a gray color across my whole cylinder. If I c
Many of the mapping techniques including normal bump mapping, parallax mapping and others require the special per-vertex tangent-space basis (tangent, normal, binormal / bitangent).
Is there a comprehensive comparison of different versions of DirectX, different versions of shaders? There\'s an article on Wikipedia about HLSL with comparison of different versions of shaders. It i
I am just messing around with some geometry shaders taking a list of GL_POINTS and outputting a box with triangle strips.i have it basically working but when i zoom in/out or pan around the triangle s
I ammaking a game with 3d gamestudio a8 free edition. The free edition doesn\'t support shader, it only supports fixed pipeline shaders. There are some samples 开发者_开发百科in the wiki of 3d gamestu
I`m a little confused about this point. Everything that I found in books, blogs, forums and even in OpenGl specs just talk about a very abstract techniques. Nothing about real world examples.
I\'ve started working with OpenGL and writing shaders. My app checks for errors after loading and compiling shader programs, and if there is a problem it prints out the info log. This is great for cat