mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 05:01:24 +00:00
17 lines
335 B
GLSL
17 lines
335 B
GLSL
|
#version 450
|
||
|
#extension GL_GOOGLE_include_directive : enable
|
||
|
#extension GL_EXT_multiview : enable
|
||
|
|
||
|
#include "oit_store.finc"
|
||
|
|
||
|
layout (location = 0) flat in uint light_index;
|
||
|
|
||
|
layout(early_fragment_tests) in;
|
||
|
|
||
|
void
|
||
|
main (void)
|
||
|
{
|
||
|
vec4 c = !gl_FrontFacing ? vec4 (1, 0, 1, 0.05) : vec4 (0, 1, 1, 0.05);
|
||
|
StoreFrag (c, gl_FragCoord.z);
|
||
|
}
|