01-08-2017 06:08 PM
01-08-2017 06:12 PM
01-15-2017 09:14 AM
01-17-2017 01:54 AM
01-27-2017 07:37 AM
01-27-2017 04:21 PM
02-03-2017 01:47 AM
02-03-2017 01:48 AM
02-05-2017 05:01 PM
06-13-2020 11:43 AM
phindle said:
To fix this I added the following lines:#pragma exclude_renderers gles3 metal d3d11_9x xbox360 xboxone ps3 ps4 psp2#pragma target 3.0
to the shader files:
AvatarSurfaceShader.shader
AvatarSurfaceShaderPBS.shader
AvatarSurfaceShaderSelfOccluding.shader.
If you search for "pragma target 2.0" I saw there were 2 instances of this. SM 2.0 has a limit of 32 const registers, which would seem to explain the errors.