Structure of output of fragment shader?

后端 未结 0 1167
长发绾君心
长发绾君心 2021-01-23 12:47

When writing a fragment shader in GLSL for Vulkan I guess I\'ve learned by example that the color of the fragment can be output like this:

layout(location = 0) ou         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题