0

(I'm REALLY new to this.)

I want to pass a vec4 color from my vertex shader to fragment shader. Do I need to pass it from vertex -> tesselation -> geometry -> fragment or is it possible just from vertex -> fragment?

Carl
  • 2,057
  • 1
  • 15
  • 20
Comlud
  • 87
  • 9

1 Answers1

1

Yes to the first, you need to pass it all the way through all the shader stages you bind to your program.

Carl
  • 2,057
  • 1
  • 15
  • 20