Unity-Technologies / obstacle-tower-source

Obstacle Tower Source Code
Apache License 2.0
120 stars 25 forks source link

Shaders error in TV_Pattern.shadergrapg (TV_Pattern) #16

Closed MarcoMeter closed 4 years ago

MarcoMeter commented 4 years ago

Hi @awjuliani !

The file \obstacle-tower-source\Assets\WorldBuilding\Materials\Future\TV_Pattern.shadergraph raises two Shader errors. Due to this, the TVs' materials are rendered purple.

shader_error

This issue is also observed on earlier commits.

System: Unity 2019.2.19f Windows 10

Shader error in 'Shader Graphs/TV_Pattern': incorrect number of arguments to numeric-type constructor at line 285 (on d3d11)

Compiling Vertex program with _MAIN_LIGHT_SHADOWS _SHADOWS_SOFT
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING
Shader error in 'Shader Graphs/TV_Pattern': incorrect number of arguments to numeric-type constructor at line 808 (on d3d11)

Compiling Fragment program with UNITY_PASS_SHADOWCASTER
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING
MarcoMeter commented 4 years ago

shader_error

MarcoMeter commented 4 years ago

Looks like that this is resolved by now.