fix compile errir
This commit is contained in:
parent
c3f4e7cd70
commit
e7bcd197df
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ float4 MainPS(VertexShaderOutput input) : COLOR
|
|||
|
||||
float2 pixel = (int2)input.TextureCoordinates * ImageSize;
|
||||
|
||||
float2 offsets[8] = {float2(-1,0), float2(1,0), float2(0,1), float2(0,-1), float2(-1,1), float2(1,1), float2(1,-1), float2(-1,-1)} * BorderSize;
|
||||
float2 offsets[8] = {float2(-1,0), float2(1,0), float2(0,1), float2(0,-1), float2(-1,1), float2(1,1), float2(1,-1), float2(-1,-1)};
|
||||
|
||||
float2 checkp1 = pixel + (float)BorderSize * offsets[0];
|
||||
float2 curUV1 = input.TextureCoordinates + checkp1/(float2)ImageSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue