mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
13 lines
352 B
GLSL
13 lines
352 B
GLSL
float4 AmbientColor = float4(1, 0.5, 0, 1);
|
|
float AmbientIntensity = 0.1;
|
|
|
|
float4 PixelShaderFunction(float4 input) : COLOR0
|
|
{
|
|
return input * AmbientIntensity + AmbientColor;
|
|
return input * input + input * input;
|
|
return input + input * input + input;
|
|
return ++input * -+-+--input;
|
|
return input++ + ++input;
|
|
return sin(input);
|
|
}
|