0
Corrigé

Image Effect shows black screen. Lightmode=meta pass issue.

Dennis V H il y a 8 ans mis à jour par Freya Holmér (Developer) il y a 8 ans 1

With a new fresh clean project in unity 5.5.2p1 I created a new image effect based using your template.

Camera is forward and depth rendering is enabled through script.

The camera onrenderimage just does a simple blit with the material using the created shader.


When I run, it shows a black screen. When removing the LightMode meta pass from the shader source it runs as expected and shows the solid color.

Solution

Solution
Corrigé

The meta pass can now be disabled in SF 1.35, and is disabled for image effects by default

Solution
Corrigé

The meta pass can now be disabled in SF 1.35, and is disabled for image effects by default