Could you post the relevant lines? It seems as if you’re trying to cast a float3 to a float4 in the last error.
At least, last time i ran into that error i had forgotten a , between variables which resulted to unity thinking i was passing only 3 of the 4 parameters -.-
Well, the errors on this lines make little sense, and that’s why I don’t even know what’s it about
Line 17- _ParallaxMap (“Parralax Map”, 2D) = “black”{}
Line 21- _MaskTex (“Alpha Mask”, 2D) = “white”{}
Line 23- just a blank space
Line 25- “}”
Line 31- CGPROGRAM
However, removing the subshader part in my shaders gives me regular syntax error on the first line to come after CGPROGRAM
Have you checked where you assign the variables for the CGPROGRAM (above the input struct) on (typing) errors manually?
i’ve found myself gaining strange errors multiple times just because i didn’t add my darn semicolon sometimes -.-
As per the unity docs, dx11 is far more picky about your syntax. No more float4(0) and so on. Unfortunately as you can see, Unity doesn’t make it easy to find where these errors are - ie. those errors refer to the attempted compiled version of your shader rather than the source!