Skip to content

Commit

Permalink
fix: effect shader compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum committed Apr 19, 2024
1 parent 6be9256 commit 05ab2be
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions package/Shaders/Effect.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -723,13 +723,6 @@ PS_OUTPUT main(PS_INPUT input)
psout.NormalGlossiness = float4(EncodeNormal(screenSpaceNormal), 0.0, psout.Diffuse.w);
float2 screenMotionVector = GetSSMotionVector(input.WorldPosition, input.PreviousWorldPosition, 0);
psout.MotionVectors = float4(screenMotionVector, 0.0, psout.Diffuse.w);
# elif defined(NORMALS)
# if (defined(MEMBRANE) && defined(SKINNED) && defined(NORMALS))
float3 screenSpaceNormal = normalize(input.TBN0);
# else
float3 screenSpaceNormal = normalize(input.ScreenSpaceNormal);
# endif
psout.NormalGlossiness = float4(EncodeNormal(screenSpaceNormal), 0.0, psout.Diffuse.w);
# endif

psout.Specular = float4(0.0.xxx, psout.Diffuse.w);
Expand Down

0 comments on commit 05ab2be

Please sign in to comment.