Skip to content

Commit c544b7f

Browse files
committed
Screen Space Decals
1 parent e6c64e4 commit c544b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Shaders/Decal/decal.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void main () {
4848
vec3 FragPos = worldSpacePosition.xyz;
4949

5050
vec4 localpos = inverseM * vec4(FragPos,1);
51-
51+
5252
float d = length(FragPos - DecalCenterPosition);
5353
if (d > 0.5)
5454
discard;

0 commit comments

Comments
 (0)