iris_raj
02-26-2007, 10:32 PM
Dear shader programmers,
I am new to shader programming
What does the (((IN.Pos.xy / IN.Pos.w) + 1) / 2 indicate.
The code snippet is
float2 texc = ((IN.Pos.xy / IN.Pos.w) + 1) / 2;
With regards
RAJESH.R
I am new to shader programming
What does the (((IN.Pos.xy / IN.Pos.w) + 1) / 2 indicate.
The code snippet is
float2 texc = ((IN.Pos.xy / IN.Pos.w) + 1) / 2;
With regards
RAJESH.R