Andrei Kortunov
12144de8ed
Initialize missing variables
7 years ago
scrawl
899d464b0d
Cap the rain emitter's frame time ( Fixes #4314 )
7 years ago
Miloslav Číž
a7cad65aab
fix water shader switching bug
7 years ago
Miloslav Číž
8a1e0e74fd
update uniform from one place
7 years ago
Miloslav Číž
797e407269
make snow create water ripples
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 Číž
65977b910e
wrap weather around in all directions
7 years ago
Miloslav Číž
380a5799dd
use bbox as wrap range & apply to all particle systems
7 years ago
Miloslav Číž
38bfa64100
transform weather particles to world space
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
Bret Curtis
07f75e1104
replace boost::shared_ptr in extern and components
8 years ago
scrawl
4c9bbce1e2
Fix node mask being reset
8 years ago
scrawl
c5f8ff6e0e
Add names to several nodes for debugging purposes
8 years ago
scrawl
dc1f788cff
Use osg::PI over M_PI
8 years ago
scrawl
2368382ea5
Fix upside down rain particle texture
8 years ago
scrawl
85bd4f52f0
Improve occlusion query geometry rendering
9 years ago
scrawl
93ec289b1d
Improve setting of occlusion query state
9 years ago
scrawl
f898bf493f
Don't use Geodes
9 years ago
scrawl
137dde7cf8
Include cleanup
9 years ago
scrawl
41e1fd407d
Disable shaders for the sky
9 years ago
scrawl
5824619a95
Clean up includes
9 years ago
scrawl
8b596dfcbe
Remove support for OSG 3.2
...
Since commit e8662bea31
, we're using OSG functionality that contains an unfixed crash bug in version 3.2. The bug is fixed in version 3.4 (OSG commit 6351e5020371b0b72b300088a5c6772f58379b84)
9 years ago
scrawl
e28dc3e72f
Preload instances in SceneManager
9 years ago
scrawl
1cda2bf796
Preload sky & water from the main menu
9 years ago
scrawl
9e53e12c70
More renaming of TextureManager -> ImageManager
9 years ago
scrawl
5ee3d1698f
Remove getWarningTexture in favor of getWarningImage
9 years ago
scrawl
f99f403dda
Rename TextureManager to ImageManager
9 years ago
scrawl
6ef848b7c5
Remove TextureManager::getTexture2D
...
Instead use getImage and let the caller create the Texture. Sharing of textures is then handled in post by the SharedStateManager.
This is closer to what the OSG serializer does.
Streamlines the TextureManager and will make it easier to multithread.
9 years ago
scrawl
aec8c38461
Move observer_ptr include where it belongs
9 years ago
scrawl
fc6fe9acfb
Do not crash ModVertexAlphaVisitor when there are no vertex colors
9 years ago
scrawl
6546c05428
Move Fallback map to components/
9 years ago
scrawl
daa94cc50e
Fix cppcheck warnings
9 years ago
Paul Cercueil
0765ff3ba2
mwrender: Add missing includes
...
Those missing includes were causing the build to fail when compiled with
USE_GLES set.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
9 years ago
scrawl
a1fa1b2b2e
Don't attempt to open an empty texture
9 years ago
scrawl
0409e5a043
Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change)
9 years ago
scrawl
f1ac408f35
Place Drawables directly in the scene graph when built with OSG 3.4
...
OSG 3.4 adds the ability to place Drawables directly in the scene graph, without a Geode decorating them. Leveraging this should give a small performance boost, because the redundant Geodes increase culling overhead.
There is still an oustanding issue with the RemoveDrawableVisitor no longer working correctly, because Drawables can have multiple parents.
9 years ago
scrawl
055841e721
Improve cloud lighting
9 years ago
scrawl
1cf1c944b7
Don't attempt to render weather particles on the refraction and reflection textures
9 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
ad016da31d
Enable fog on weather particles
9 years ago
scrawl
fd1ccd21ff
Disable freezeOnCull for weather particles
9 years ago
scrawl
5ca0ae5232
Don't add the same AlphaFader to multiple nodes
9 years ago
scrawl
d6f45c3390
Fix the renderbin for weather particles
...
Regression from commit 2ee6b41887
9 years ago
scrawl
bd1f3493d7
Fix weather particles not being cleared when changing from one particle effect to another
9 years ago