1
0
Fork 0
Commit graph

3 commits

Author SHA1 Message Date
Fernando García Liñán
7ca349b82e HDR: More robust envmap updating
- Use the frame signal instead of settimer() with interval 0 to get more
  consistent behaviour.
- Update the envmap more often when time warp is active.
- Use maketimer() instead of settimer().
2023-05-04 06:09:36 +02:00
Fernando García Liñán
1e66c4104a HDR: Improved environment mapping
- Terrain and clouds and now rendered on the envmap, with correct aerial
  perspective.
- Each face is rendered on a separate frame to help with performance.
- All faces are updated every 1.5 minutes. This can be changed through a
  property.
2023-05-03 02:03:10 +02:00
Fernando García Liñán
691337a00e HDR: Add separate fog layer to atmosphere
Also use Nasal to feed the shaders' uniforms. Much better than running
the computations on the GPU.
2023-04-21 02:15:42 +02:00