shader
HLSL : multi pass shader?
I\'m writing a shader that make a blur effect on a texture rendered form the scene. I need to do that in 2 passe, so with the pass P0 i make a horizontal blur, and in pass P1 the vertical one.[详细]
2023-02-26 14:12 分类:问答What's the best tool you can use to learn to program shaders?
I\'ve recently been doing some DirectX 10 work and I\'m looking to move to DirectX 11 and Shader Model 5.0. I\'ve written a few very simple shaders in the past and I\'m looking to broaden my horizons[详细]
2023-02-26 04:00 分类:问答OpenGL: How to pause a shader work
How to pause a shader in frame in order to not开发者_Python百科 influence to other render parts?Unless I misunderstood you want to switch back to fixed pipeline functionality for rendering some other[详细]
2023-02-26 01:41 分类:问答enable/disable frag & vert shaders
Currently I\'m using glUseProgramObjectARB(ProgramObject); and glUseProgramObjectARB(0); But it doesn\'t switch back properly,and gives me an “invalid operation glError” along these lines[详细]
2023-02-23 16:50 分类:问答Projective Texture Mapping using GLSL through WebGL
I want to project a texture on to a wall or any object.I modified this tutorial\'s shaders as follows based on this Cg projective texture mapping tutorial (ctrl-f \"9.3\") but I get a blank, white can[详细]
2023-02-23 04:47 分类:问答Shader side of Vertex composition HLSL
Say you ask directX to send in vertex data from multiple vertex buffers like so: immediateContext->IASetVertexBuffers( 0, 3, bufferArray, &vertexStride, 0 );[详细]
2023-02-21 10:41 分类:问答Later OpenGL specs - more than shaders?
I\'ve been programming OpenGL almost entirely in the 2 specification, and don\'t know much about the 3 and 4 specs.[详细]
2023-02-20 20:32 分类:问答GLSL: Changes in uniforms not rendered
I\'m tweaking the shader examples in OpenGL Superbible 2010 to learn about shader usage. I wanna change the red component of a directional light that\'s passed as a uniform to a diffuse light shader[详细]
2023-02-20 13:53 分类:问答Molehill Shader
I\'m trying to understand molehill and would like to multiple a vertex by two matrices, say: output = theVertex * scaleMatrix * rotationMatrix[详细]
2023-02-20 09:36 分类:问答Optimising the model-view transformation in GLSL for 2D
So, the standard way to transform vertices and then pass to the fragment shader in GLSL is something like this:[详细]
2023-02-20 06:32 分类:问答