dteviot
e197f5318b
fixing MSVC 2013 warning C4244: & C4305
...
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl
5a9b30a8ca
Don't show VFX on the map ( Fixes #2324 )
10 years ago
scrawl
58672c6bb5
Fix for crash in main menu when reflections are enabled
10 years ago
Marc Zinnschlag
2683aa9503
Merge remote-tracking branch 'filkry/bug640_luminescent_water'
11 years ago
Fil Krynicki
cfea7736d9
WIP fix
...
Bug is fixed, but appears to have broken vision underwater. Notes:
+ basically fixed by darkening the colour of water such that it is
darker than refracted terrain
+ also disabled sunlight scattering at night. This may actually be
desirable, but given there is no visible moon it seems unlikely to make
much sense, and blends a lot of green into the water colour appearing
luminescent at night
11 years ago
scrawl
3334078d4d
Add first person meshes to refraction render ( Fixes #1481 )
11 years ago
scrawl
edb5a54092
Include some more required Ogre headers explicitely.
11 years ago
scrawl
f1d35b73b8
Cleanup
12 years ago
scrawl
002830e13b
Make sure render textures are inactive when in a cell without water
12 years ago
scrawl
d4264353a3
Merge branch 'z-up' into graphics
...
Conflicts:
apps/openmw/mwrender/localmap.cpp
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwrender/water.cpp
files/materials/water.shader
12 years ago
scrawl
5b099393fa
Fix time factor
12 years ago
scrawl
6cceb04adf
When a custom near clip plane is used, we need to fix up a second viewproj matrix manually to get proper depth values in the vertex shader. This fixes fog on reflections.
12 years ago
scrawl
791d16bbdb
Use infinite AAB for sky meshes to fix them from disappearing from underwater refraction, while still taking advantage of CPU culling for other meshes
12 years ago
scrawl
6a49ea9b4f
Cleaning out some old bits
12 years ago
scrawl
de90b911c9
Near clip plane corrections
12 years ago
scrawl
979a874220
Fixed the custom near clip planes
12 years ago
scrawl
5334934612
Listen to render window updates and properly activate/deactivate occlusion queries pre/post update.
12 years ago
scrawl
15e51b76de
Experimental: Directional shading on local map, separated out refraction render, no longer uses screen depth
12 years ago