While I have fog enabled, as I turn my ground plane goes from dark to bright.
Any body know what might be causing this?:spin:
Fog in the BGE is Vertex-based. That means the Fog-color is calculated for the vertices (relative to the camera). The face color is an interpolation between the involved vertices (3 or 4).
The conclusion:
- Fog does doe not look good on large faces.
- Fog does not look good when using faces with very different sizes.
It might be better with GLSL-mode. But I do not know that.
Yeah, subdivide that plane a couple of times, it’ll look way better.
I think fog works off pixels instead of vertices in GLSL… So Monster’s right?