Skip to content

Commit

Permalink
Fix a bug where Hekky Shaders would go pink
Browse files Browse the repository at this point in the history
  • Loading branch information
hyblocker committed Aug 5, 2022
1 parent 79e6fa1 commit 7a80f92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Hekky/Shaders/PBR/PBRUberPassStructures.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ struct v2f
UNITY_LIGHTING_COORDS(7, 8)

// next ones would not fit into SM2.0 limits, but they are always for SM3.0+
// #if UNITY_REQUIRE_FRAG_WORLDPOS && !UNITY_PACK_WORLDPOS_WITH_TANGENT
// float3 worldPos : TEXCOORD9;
// #endif
#if UNITY_REQUIRE_FRAG_WORLDPOS && !UNITY_PACK_WORLDPOS_WITH_TANGENT
float3 posWorld : TEXCOORD9;
#endif

UNITY_VERTEX_INPUT_INSTANCE_ID
UNITY_VERTEX_OUTPUT_STEREO
Expand Down

0 comments on commit 7a80f92

Please sign in to comment.