You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a fragment shader writes to neither gl_FragColor nor gl_FragData, the values of the fragment colors following shader execution are untouched.
WebGL 2.0, section "Draw Buffers":
If any draw buffer with an attachment does not have a defined fragment shader output, draws generate INVALID_OPERATION, unless all 4 channels of colorMask are set to false.
In practice, the WebGL 2.0 rule also applies to WebGL 1.0 contexts.
The text was updated successfully, but these errors were encountered:
Per WebGL WG conference call of 2024-01-25: the plan is to just write in the spec what implementations are already doing, and write an associated test.
WebGL 1.0, section "Fragment shader output":
WebGL 2.0, section "Draw Buffers":
In practice, the WebGL 2.0 rule also applies to WebGL 1.0 contexts.
The text was updated successfully, but these errors were encountered: