Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.0f3

Issue ID

984284

Regression

No

[iOS] Skybox renders grey using specific shader on new iOS phones

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Play the 'Main' scene.
- Notice a black skybox with yellow clouds.
3. Build and run it on iOS device
- Skybox will be grey (screenshots attached).

Note:
Other objects render fine (e.g. cube between camera and skybox).

Reproduced with:
2018.1.0b2, 2017.3.0p1, 2017.2.1p1, 2017.1.3f1, 5.6.5f1
iPhone 8 iOS 11.0
Metal, GLES3

Not reproducible with:
iPhone 7+ iOS 11.1, iPhone 7+ 10.3.2
OR
GLES2

  1. Resolution Note (2018.2.X):

    half used in the shader in question do not have enough range for world pos, especially in the case of skybox where projection matrix is tweaked to push it as far away as possible (you can search inifinite projection matrix).
    Simply changing WorldPos to float3 (and removing matrix cast to half4x4 in calculating it) fixes it

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.