scrawl
fdc6dd6985
Shader compatibility fixes for GLSL ES
11 years ago
scrawl
c64dc2c831
Terrain specular mapping: use a "_diffusespec" postfix to indicate specular information is present in the alpha channel. Use alpha directly instead of 1-alpha.
11 years ago
scrawl
27b45dd3cd
Remove unused input
11 years ago
scrawl
74e902330f
Fix a terrain shader issue
11 years ago
scrawl
6a3eb3b355
Better way of reversing layer UV.
11 years ago
scrawl
69c0bb1723
Add normal, specular & parallax mapping for terrain
11 years ago
scrawl
5f7e6f7b10
Fix a material issue, layers per pass wasn't entirely correct
12 years ago
scrawl
ecf7786d11
terrain_num_lights was removed
12 years ago
scrawl
8c8653160d
Crash fix, material fix
12 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
726c93c365
Terrain fixes to match vanilla better - vertices need to be mapped directly to texels for colormap and blendmap (this also caused seams at cell borders), layer uv scale appears to be 8 not 10
12 years ago
scrawl
2c70074dd7
Fix combinedAlpha
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
2486ec6cb9
Material fixes (vertex colors, alpha)
12 years ago
scrawl
f1d35b73b8
Cleanup
12 years ago
scrawl
c9fefc7f5d
Simpler, more lightweight underwater effect, changed colors to match vanilla better
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
284ba58e1e
Z-up conversion: global map, shader fix
12 years ago
scrawl
3ef952172d
Z-up conversion: water, sky
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
42883ec64b
cleanup
12 years ago
scrawl
492e0f2ccf
Switched objects shaders to vertex lighting, to accomodate badly placed lights in morrowind.
...
Fixed a very obvious land <-> water seam.
12 years ago
scrawl
3772cd9257
Refraction can be disabled separately now
12 years ago
scrawl
bd8d793fec
Removing gamma correction due to caused inconsistencies.
12 years ago
scrawl
111e38ef25
Revert "fog now distance based instead of depth"
...
This reverts commit 7ee038fdd7
.
12 years ago
scrawl
9f821e5df2
fix shaders
12 years ago
scrawl
7ee038fdd7
fog now distance based instead of depth
12 years ago
scrawl
d9f6072f02
gamma correct rendering & adjustment setting
12 years ago
scrawl
37c7becb07
some potential compability fixes
13 years ago
scrawl
3feb4ce61b
terrain lod morph fix
13 years ago
scrawl
8c8228a15c
fix terrain num lights setting
13 years ago
scrawl
f0b3142966
switch to glsl 1.2
13 years ago
scrawl
6bfcf2bc1b
- exchanged the preprocessor again, no warnings now
...
- disable line directives for now, causing some trouble
13 years ago
scrawl
f5ffea4d4b
new button, water timescale
13 years ago
scrawl
e077814a8c
water
13 years ago
scrawl
9d7470e14c
temp commit
13 years ago
scrawl
739455e6f8
new water WIP, caustics, chromatic abberation, accurate fresnel, underwater reflection, etc
13 years ago
scrawl
778e59ee37
terrain as it was before, with about 4x less code
13 years ago
scrawl
29f91753f7
correction
13 years ago
scrawl
93c641efa7
terrain albedo
13 years ago
scrawl
16c2ea3a75
terrain colourmap
13 years ago
scrawl
7731e9a6fa
finished cleaning up sky
13 years ago
scrawl
b8384162b6
merge
13 years ago