04-06-2018, 10:25 AM
(01-06-2018, 01:52 PM)josemendez Wrote: HI,
maybe this thread will be helpful:
http://obi.virtualmethodstudio.com/forum...hp?tid=588
cheers,
Hi,
That helps a bit thanks. Changing line 83 & 84 in ObiEllipsoids.cginc fixes the third error, but allows the compiler to get further and find two more in ParticleShader.Shader. These are also caused by UNITY_MATRIX_V and fixed by adding a cast in the same way.
This doesn't help with the first two errors though, on lines 415 and 503 of UnityStandardCoreBackfaces.cginc. They seem to be caused by
UNITY_LIGHT_ATTENUATION(atten, i, s.posWorld);
(also line 503 seems to be missing a semi-colon)
Any ideas about what is causing this and how to fix it. It's been a week since I bought this now and I'd really like to get it compiling.
Cheers,
Dan