Obi Official Forum
Bug / Crash shader particles not compiling in PS4 - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Bug / Crash shader particles not compiling in PS4 (/thread-551.html)



shader particles not compiling in PS4 - nahuel36 - 25-04-2018

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!


RE: shader particles not compiling in PS4 - josemendez - 26-04-2018

(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