vertex-shader
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 分类:问答Vertex shader vs Fragment Shader [duplicate]
This question already has answers here: 开发者_JAVA百科 What are Vertex and Pixel shaders? (6 answers)[详细]
2023-01-30 07:55 分类:问答OpenGL ES 2.0: attribute not bound on vertex shader
I\'m developing an Android applica开发者_如何学Ction. I have the following vertex shader. \"attribute vec4 vertexPosition;[详细]
2023-01-28 15:04 分类:问答WebGL: Texture access in a vertex shader?
Is it possible to read from a texture in a vertex shader wi开发者_StackOverflow中文版th WebGL? I wrote a WebGL page (just to try it out) and used Chrome 7 to test it. As soon as I upgraded to Chrome[详细]
2023-01-28 01:44 分类:问答DirectX11: Pass data from ComputeShader to VertexShader?
Is it possible to apply a filter to the geometry data that is to be rendered using Compute Shader and then use the result as an input buffer in the Vertex Shader? That would save me the trouble (&[详细]
2023-01-22 06:49 分类:问答WebGL/GLSL vertex shader collapses 9 points into single point when I set x coord of gl_Position to zero
I do not understand why the following two shaders produce different results when I render a vertex buffer with x coordinates equal to zero:[详细]
2023-01-16 07:01 分类:问答How to run Cg vertex/fragment shader on CPU?
I\'m playing about with some vertex and fragment shaders using Cg on my little netbook (running Linux). Clearly I\'m going to frequently hit resource limits for my graphics controller, so was wonderin[详细]
2022-12-31 10:05 分类:问答HLSL: Index to unaligned/packed floats
I have a vertex shader (2.0) doing some instancing - each vertex specifies an index into an array. If I have an array like this:[详细]
2022-12-30 16:57 分类:问答HLSL: Enforce Constant Register Limit at Compile Time
In HLSL, is there any way to limit the number of constant registers that the compiler uses? Specifically, if I have something like:[详细]
2022-12-30 15:05 分类:问答change the color of a vertex in a vertex shader
Is it possible to set the color of a single vertex using a GLSL vertex 开发者_Python百科shader program, in the same way that gl_Position changes the position of a vertex ?For versions of GLSL prior ve[详细]
2022-12-25 09:58 分类:问答
加载中,请稍侯......