mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-09 15:33:35 +00:00
It doesn't work as intended (due to glslang issues?). The current way to write a shader that uses multiple attachments is to declare multiple output variables, which is a little better because you can name them however you want and customize the type. It would be nice to be able to support a "void" entrypoint for multiple attachments so you don't need to awkwardly return the first target's color, but I can't find a way around this right now. |
||
---|---|---|
.. | ||
animator.comp | ||
cubemap.frag | ||
cubemap.vert | ||
equirect.frag | ||
fill.vert | ||
fill_array.frag | ||
fill_layer.frag | ||
font.frag | ||
logo.frag | ||
lovr.glsl | ||
normal.frag | ||
timewizard.comp | ||
unlit.frag | ||
unlit.vert |