Commit Graph

19 Commits (replace)

Author SHA1 Message Date
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
Thoronador 8361019456 fix uninitialized (pointer) vars in more classes 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
scrawl aa855e9524 Include some required Ogre headers explicitely 11 years ago
scrawl ebf9debb80 Enabled terrain self shadows, implemented getHeightAt, some optimizations 12 years ago
scrawl e27437f8ed New terrain renderer - improvements:
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
 - Fixes several blending issues and cell border seams
 - Fix map render to use the terrain bounding box instead of an arbitrary height
 - Different LODs are now properly connected instead of using skirts
 - Support self shadowing
 - Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
 - Support a fixed function fallback (though the splatting shader usually performs better)
 - Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
scrawl 0e7d555cdf Terrain material now uses multiple passes if required, which means it can support an arbitrary number of layers. Also re-enables PSSM. 12 years ago
scrawl e4f140841e Make OpenMW work with Ogre 1.9 12 years ago
scrawl 2c3719a6f5 Disabling PSSM feature to make sure we can fit the max. amount of terrain textures in Morrowind.esm in a single pass. 12 years ago
scrawl ad7383be43 sky 13 years ago
scrawl e0a99f104b settings tab "shadows" 13 years ago
scrawl 1a9f59d5d4 shadows 13 years ago
scrawl 07fd9986ef accidently removed the map. 13 years ago
scrawl b803d0e949 converted shadow caster shader 13 years ago
scrawl 81d30ff63a temp commit 13 years ago
scrawl d37bc9cba8 basic mouse-over info for in-game objects 13 years ago
scrawl fb78e853d4 removed 2 unneeded lines 13 years ago
scrawl 2a4fcf42a3 basic shadows 13 years ago