Commit Graph

69 Commits (1f2349ef6e82b7b1b82e1de6db2776e2043fb18d)

Author SHA1 Message Date
Miloslav Číž d71d984cfa more unused stuff cleanup 7 years ago
Miloslav Číž 1f49612ca3 enable water effects for 360 screenshots 7 years ago
Miloslav Číž f60840754f disable water effects for spherical screenshots 7 years ago
Miloslav Číž a7cad65aab fix water shader switching bug 7 years ago
Miloslav Číž da47653625 move rain intensity uniform to water node 7 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 8 years ago
scrawl f898bf493f Don't use Geodes 9 years ago
scrawl 1cda2bf796 Preload sky & water from the main menu 9 years ago
scrawl 6546c05428 Move Fallback map to components/ 9 years ago
scrawl 3f93af4181 Projectiles interact with the water surface (Fixes #2986) 9 years ago
scrawl c0a81030bb Make use of INI settings for the simple water 9 years ago
scrawl 30c828dff0 Include cleanup 9 years ago
scrawl 8433e0679f Water: connect to settings window 9 years ago
scrawl 9f8d36b573 Water code cleanup 9 years ago
scrawl ebdf25ccb9 Water: move refraction code to a new class 9 years ago
scrawl 700a0099c3 Remove debug code 9 years ago
scrawl e13eb625d3 New water WIP
Changes compared to old (Ogre) water:
- Uses depth-texture readback to handle the underwater fog in the water shader, instead of handling it in the object shader
- Different clipping mechanism (glClipPlane instead of a skewed viewing frustum)
- Fixed bug where the reflection camera would look strange when the viewer was very close to the water surface
- Toned down light scattering, made the waterColor a bit darker at night
- Fixed flipped water normals and strange resulting logic in the shader

Still to do: see comments...
9 years ago
scrawl 3da8f6e62e Water ripples 10 years ago
scrawl cdd0623009 Terrain rendering 10 years ago
scrawl 01944c33f5 Basic water rendering 10 years ago
Rohit Nirmal 997347b01e Silence -Wreorder warnings. 10 years ago
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 dbd4abd6fe Fix ripples for D3D - added simpler effect (Fixes #1649) 10 years ago
scrawl 028e00c98f Add missing status report for some toggle commands 11 years ago
scrawl eb5e4ecec2 Remove more unused code 11 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
kpp dcccfd9f22 Initialize values 12 years ago
scrawl fe7b2732d8 Avoid manually updating render targets from within frameRenderingQueued 12 years ago
scrawl c9fefc7f5d Simpler, more lightweight underwater effect, changed colors to match vanilla better 12 years ago
scrawl 9b0ac4e299 NPCs / creatures can now emit ripples 12 years ago
scrawl 01102f9c73 Don't emit if there wasn't enough movement 12 years ago
scrawl 42883ec64b cleanup 12 years ago
scrawl de90b911c9 Near clip plane corrections 12 years ago
scrawl 979a874220 Fixed the custom near clip planes 12 years ago
scrawl 15e51b76de Experimental: Directional shading on local map, separated out refraction render, no longer uses screen depth 12 years ago
scrawl a461b282c1 water ripples (experimental) 12 years ago
scrawl df602553d1 Reworked MWRender::Water to be more OOP-ish and possibly allow other reflection types. 12 years ago
Marc Zinnschlag 35d099a638 disabling gcc extensions 12 years ago
scrawl 34f796c38e removed the far clip distance hack which is not needed anymore 13 years ago
greye ff62770657 World::isUnderwater(), World::isSwimming() 13 years ago
scrawl afe7c41729 removed some unused code 13 years ago
scrawl 21728020f6 fixed the water on local map 13 years ago
scrawl e077814a8c water 13 years ago
scrawl 739455e6f8 new water WIP, caustics, chromatic abberation, accurate fresnel, underwater reflection, etc 13 years ago
Marc Zinnschlag c85aaafac2 more include cleanup (most removing Ogre.h) 13 years ago
scrawl 69e6bc6588 add water settings to settings window 13 years ago
scrawl f6a6684685 when the resolution changes, adjust camera aspect ratio and recreate compositors 13 years ago
scrawl 11ebae3be2 toggleCompositors command useful for debugging 13 years ago
scrawl aa4a1b675f fixed the sky reflection issue 13 years ago
scrawl a96ad7fb82 restored toggleWater 13 years ago