1
0
Fork 0
Commit graph

8 commits

Author SHA1 Message Date
Fernando García Liñán
497f73de80 HDR: Fix incorrect constants 2024-01-08 18:33:17 +01:00
Fernando García Liñán
6041eed8f7 HDR: Improve the parametrization of the atmosphere 2024-01-08 18:26:24 +01:00
Erik Hofman
b1b768c540 Update fog density when the visibility change 2023-11-20 10:31:29 +01:00
Fernando García Liñán
8b91f660bc HDR: Better handling of time warp when updating the envmap 2023-10-09 05:52:11 +02:00
Fernando García Liñán
6cb051369b HDR: Force an envmap update when the view changes 2023-10-05 05:57:05 +02:00
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