2016-05-13 18:33:42 +03:00
|
|
|
float4 AmbientColor = float4(1, 0.5, 0, 1);
|
|
|
|
float AmbientIntensity = 0.1;
|
2016-03-13 06:24:24 +03:00
|
|
|
|
2016-03-14 02:58:25 +03:00
|
|
|
float4 PixelShaderFunction(float4 input) : COLOR0
|
|
|
|
{
|
2016-05-13 18:33:42 +03:00
|
|
|
return input * AmbientIntensity + AmbientColor;
|
2016-05-04 08:17:20 +03:00
|
|
|
return input * input + input * input;
|
|
|
|
return input + input * input + input;
|
|
|
|
return ++input * -+-+--input;
|
|
|
|
return input++ + ++input;
|
2016-05-13 18:33:42 +03:00
|
|
|
return sin(input);
|
2016-03-14 02:58:25 +03:00
|
|
|
}
|