COLOR syntax of pixel shader
If I use the "return 0.7f", it means what value of color?
float4(0,0,0.7f,1.0f) or float4(0.7f,0.7f,0.7f,0.7f)?
Somebody know where the reule and value of color definition(:COLOR) of pixel shader in MSDN?
float4 c1=0.5f; the value is equal to the value of float4(0.5f,0.5f,0.5f,0.5f)?
1 2 3 4 5 |
float4 UpdateShadowResultTextureForDeferredShadingPS(Ps_TC_IN IN) : COLOR { return 0.7; return float4(0,0,0.7f,1.0f); } |