[BUILD-Black screen] problem with image effect shader(?)

Hi I’m new in WebGL build, i create a simple project with the shader “Image Effect Shader”, but in the build the screen is black.

I’ve already apply WebGL2.0 in flags of my browsers (tried on chrome and edge) and enabled hardware acceleration.

If I build a scene with a simple gameobject, everything works fine, but if i use the scene with the shader, everything turn black.

I tried to read something in the provided console, but i can’t undestand the problem

I checked the profiler and seems that something works, but it’s not shown

In the documentation i have saw this:

Any post-processing effect applied to the camera disables the built-in Anti-Aliasing.
note: I don’t think this is something useful for my problem, but i tried to remove everything

Thanks fot the help

1 Like

If someone bump in this post:

CGPROGRAM
            #pragma vertex vert
            #pragma fragment frag
            #pragma target 3.0

this is the problem, i used target 5.0, and this work only with 3.0, i don’t know why, but everything is fine now.

1 Like