- Home /
Height fog (GlobalFog) not supported on android?
I tried all combinations of android graphics emulation, and on the PC, the height fog displays correctly. When I build the game and install on my Oneplus One however, the fog effect is applied to my character when he falls below the fog threshold, but my environment (Seen from top down isometric angle) is not displayed with fog, and the background is pink (Fallback I assume). Any ideas?
EDIT: Images for clarity:
On PC, the fog is the light blue layer:
On Android:
Okay so progress so far:
The pink comes from a skybox error I had, but now that is fixed, the layer of fog is still not applied, the background is just black ins$$anonymous$$d, and the fog is only applied to geometry itself, not the "empty space"!
So I found a "hacky" solution to this.
Although not optimal, one way to approach this issue, is to set the camera clear flags to solid color, and use the fog color as background. This way it looks like you have the layer of fog, even though it's not being rendered.
Your answer

Follow this Question
Related Questions
Android Cardboard - Fake UI Overlay 0 Answers
Android Unity ARCore camera access 0 Answers
low-level OpenGL code running on iOS and Android ? 0 Answers
Second Camera Tearing on Android 1 Answer
my camera show an extremely weird aspect [android] 0 Answers