Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.4.1f1

2020.2

Issue ID

1260395

Regression

No

[Shader Compiler] Shader does not render correctly in perspective view when using WebGL builds

Shader System

-

Reproduction steps:
1. Open the attached project ("case_1260395-OpenGLShader.zip")
2. Switch build target to WebGL
3. Make a WebGL build and run it
4. Inspect the Game Window

Expected result: Red grid can be seen
Actual result: Solid red square can be seen instead of the grid

Reproducible with: 2018.4.25f1, 2019.4.4f1. 2020.1.0b16
Tested with: Chome (83.0.4103.116), Firefox (78.0.2), Edge (83.0.478.61)

Notes:
1. The issue does not reproduce in the Editor (tested with DX11, OpenGLES3 graphics APIs)
2. The issue does not reproduce on Windows10 Standalone build (DX11, OpenGLES3)
3. The issue does not reproduce in orthographic view

  1. Resolution Note (2021.1.X):

    As a workaround, "spacing" type can be changed to "float" or a ternary operator can be used.

Comments (1)

  1. idmcrack1

    Jul 12, 2020 15:34

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.