Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  shader particles not compiling in PS4
#1
hello!
when i try to compile for PS4 there are a error with Obi/Particles shader

exactly it say this:

Shader error in 'Obi/Particles': Program 'frag', 'COLOR' is not a valid semantic for pixel shader output 'frag.color' at Assets/Obi/Resources/ObiMaterials/ObiParticles.cginc(23) (on ps4)

Compiling Fragment program with DIRECTIONAL SHADOWS_SCREEN
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 UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING


the line of the error is: 
  half4 color : COLOR;


thanks!
Reply
#2
(25-04-2018, 10:24 PM)nahuel36 Wrote: hello!
when i try to compile for PS4 there are a error with Obi/Particles shader

exactly it say this:

Shader error in 'Obi/Particles': Program 'frag', 'COLOR' is not a valid semantic for pixel shader output 'frag.color' at Assets/Obi/Resources/ObiMaterials/ObiParticles.cginc(23) (on ps4)

Compiling Fragment program with DIRECTIONAL SHADOWS_SCREEN
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 UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING


the line of the error is: 
  half4 color : COLOR;


thanks!

Hi Nahuel,

Obi is only supported in Windows, MacOS, iOS and Android. No PS4 support as of now. See the FAQ:
http://obi.virtualmethodstudio.com/tutorials/

cheers
Reply