0

Terrain cutout shader error and no shadows.

Jamo Taylor 8 aastat tagasi uuendatud 8 aastat tagasi 0

I'm not sure if these 2 things are related but I'm having 2 problems with this shader:


Image 817



1. I'm getting this cryptic error: "Incompatible types: Type A: VTv1 Type B: VTvPending"


2.  The shader is not casting shadows in the lightmap like it is supposed to, it shows a shadow in the editor but after a bake there is nothing.  The shader on the left is my terrain shader, the shader on the right is the standard shader (in cutout mode):


Image 818


Not sure if this something I'm doing wrong or a bug in Shader Forge?


P.S. I tried posting this in the 'questions' section of the forum but was unable to upload an attachment, so posting here instead.