16 lines
334 B
GLSL
16 lines
334 B
GLSL
|
|
#version 450
|
||
|
|
#extension GL_GOOGLE_include_directive : require
|
||
|
|
|
||
|
|
// Built by the ShaderIncludeChange test, which edits palette.glsl and this
|
||
|
|
// entry's defines between builds.
|
||
|
|
#include "palette.glsl"
|
||
|
|
|
||
|
|
layout(location = 0) out vec4 outColor;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
#ifdef LIT_DIM
|
||
|
|
outColor = kTint * 0.5;
|
||
|
|
#else
|
||
|
|
outColor = kTint;
|
||
|
|
#endif
|
||
|
|
}
|