Settings

Theme

GLSL Is Hard – Stop Using Operators and Love the V_vTexcoord

sailbound.blogspot.com

2 points by sonjaqql 3 years ago · 2 comments

Reader

waynecochran 3 years ago

Vertex shaders do not process pixels. They take model vertices and their attributes as input. The vertex shader outputs transformed vertices which are eventually arranged into primitives (e.g., triangles). These primitives are later rasterized downstream and the resulting fragments (pixels and attributes) are passed to the fragment shader.

  • luketpena 3 years ago

    (The blog post was written by me, posted here by a friend.)

    I updated the post to reflect that correction. I'm not super great with GLSL / shaders / understanding it in general, so thanks for the correction!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection