Commit Graph

104 Commits (bcbe144a1dae4c17ef2294863c67387eb73168a7)

Author SHA1 Message Date
psi29a bcbe144a1d Merge branch 'weatheralpha' into 'master'
Fix weather particle fading

Closes #5455

See merge request OpenMW/openmw!506
3 years ago
Andrei Kortunov 0418e8e7a6 Add an API to get base wind speed (which is from openmw.cfg) 3 years ago
Alexei Dobrohotov 396667f801 Fix weather particle fading
Update rain particle system setup
3 years ago
Evil Eye 2c4cafa41a Change moon phase to an enum class 4 years ago
Andrei Kortunov 6e6d6d7bda Use forward declaration 5 years ago
Andrei Kortunov 606b73ee96 Use rain settings from openmw.cfg (bug #4262) 5 years ago
Andrei Kortunov e5564df8cb Implement vanilla-style wind speed calculations (bug #4449) 5 years ago
Andrei Kortunov 3032b177a1 Remove redundant includes 5 years ago
Stanislaw Halik 8fd71fe4ad fix rain delay when exiting water
When the particle system updates its internal state noting that it's
been culled, it stops emitting any further particles. Prevent it from
having that knowledge.

v2: Fix off-by-one-frame error following review by @AnyOldName3
6 years ago
Chris Robinson 154cc8c659 Use alternate fog parameters when distant land is enabled
This allows the distant land to actually be seen when the user enables it. The
values used are replicated from MGE XE's default settings and should probably
be exposed somewhere.
6 years ago
Miloslav Číž 8a1e0e74fd update uniform from one place 7 years ago
Miloslav Číž da47653625 move rain intensity uniform to water node 7 years ago
Miloslav Číž af6eeddbe5 use operator instead of drawcallback 7 years ago
Miloslav Číž 8114126a62 make use of renderinfo 7 years ago
Miloslav Číž 33a1459b11 search for particle system by class name 7 years ago
Miloslav Číž b95c9ba483 rain independent from camera plus wrap-around 7 years ago
Miloslav Číž 4999c667b6 fix rain ripple bug 7 years ago
Miloslav Číž 8416feaf5b link rain water ripple effect to actual rain 7 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 7 years ago
Leon Krieg 739cd5ba45 Fixed more spelling mistakes 8 years ago
scrawl 137dde7cf8 Include cleanup 8 years ago
scrawl 1cda2bf796 Preload sky & water from the main menu 8 years ago
scrawl 209fa52883 Hide weather particles underwater (Fixes #2701) 9 years ago
scrawl 380256977b Fix another renderBin issue with the weather particles
Depth sorting w.r.t. the rest of the scene was broken
9 years ago
scrawl 5ca0ae5232 Don't add the same AlphaFader to multiple nodes 9 years ago
scrawl 385f4f729c Implement SunDiscSunsetColor, fade the sun during sunrise & sunset 9 years ago
scrawl 854fd9fe05 Remove dead code 9 years ago
scrawl a2a4532e71 Add the full-screen sun glare effect 9 years ago
slothlife 29d74f0249 Improve thunderstorm support.
Reversed settings for thunderstorms. Added thunder support to all
weather types. Implemented a simple lightning flash effect similar to
MW.
9 years ago
scrawl 56b7196bea Remove incorrect implementation of "Clouds Maximum Percent" weather setting 9 years ago
slothlife 3235cecddf Use Glare View for visibility of celestial bodies
Fixed memory leak from Sun and Moon objects by pulling Updaters back out
into separate objects. Removed code related to
mCelestialBodyTransparency.
9 years ago
slothlife ea2f88a355 Fix several sky rendering bugs, maybe also #639
Added code to hide the moons, sun, and stars for certain weather
effects. Lightly refactored CelestialBody and derived classes. Fixed
moons switching phase at 24:00.
9 years ago
slothlife 24ba54f4fe Implement accurate moon settings (fixes #672) 9 years ago
scrawl 017c9f7ac9 Fading for weather particle effects 9 years ago
scrawl 8a3889a81e Rain fading 9 years ago
scrawl 3a21f05f6e Rain effect 9 years ago
scrawl efad4efe19 Star fading (Bug #2693) 9 years ago
scrawl 1ed4e33815 Fading for mooncircle texture 9 years ago
scrawl e0dfc1425e Correct moon blending 9 years ago
scrawl 0c4ebee6b3 Cloud opacity & cross-fading 9 years ago
scrawl 1c151f2f0a Re-enable some outcommented sky code 9 years ago
scrawl b73947033d Rotate sky meshes 9 years ago
scrawl bf02c7f6e4 Sun visibility fix 9 years ago
scrawl 627fee07bc Minor cleanup 9 years ago
scrawl 13a1ba0aab Moon rendering 9 years ago
scrawl 5dd1ab24fe More efficient StateSetController, beginnings of sky rendering 9 years ago
Jordan Ayers 2d17eaa5ea Fix argument name for setSunDirection. 9 years ago
scrawl 6f747df713 Remove an unused constructor 10 years ago
scrawl 85f5754bb6 Apply third person camera distance to the camera node instead of only the camera itself (Fixes #1705) 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago