Vertex shaders are executable programs that execute as part of the programmable geometry pipeline in modern graphics APIs such as e.g. Direct3D or OpenGL.
I'm trying to pass in attributes to my vertex shader but for some reason it keeps giving me a -1 …
c++ opengl shader vertex-shaderI am learning HLSL for DirectX 11, and I was wondering what exactly is the SV_POSITION that is the output …
directx-11 hlsl vertex-shader pixel-shaderWhat I'm trying to accomplish: Drawing the depth map of my scene on top of my scene (so that objects …
opengl glsl texture-mapping vertex-shaderI have a scene with several models with individual positions and rotations. Given normals, the shaders apply simple bidirectional lighting …
glsl shader lighting vertex-shader normalsI have an STL file loaded into my scene with a single colour applied to a phong material I'd like …
javascript three.js vertex-shader geometry-shaderI have the following vertex shader: #version 330 layout (location = 0) in vec3 Position; uniform mat4 gWVP; out vec4 Color; void main() { …
c++ opengl glsl vertex-shaderpeople. I have a problem passing a float array to vertex shader (HLSL) through constant buffer. I know that each "…
directx hlsl directx-11 vertex-shaderCan the rendering for a pixel be terminated in a vertex shader. For example if a vertex does not meet …
opengl glsl terminate vertex-shaderBefore I go into details I want outline the problem: I use RWStructuredBuffers to store the output of my compute …
hlsl directx-11 vertex-shader compute-shader directcomputeI have a problem when passing vertex attributes to the running shader program. I'd like to pass two attributes, the …
opengl attributes colors glsl vertex-shader