Commit Graph

45 Commits (master)

Author SHA1 Message Date
glassmancody.info 531a6e1979 Code review fixes, remove implicit GLSL casts 4 years ago
glassmancody.info 92033bca64 Fixed error in calculating viewspace sun dir, minor cleanup 4 years ago
glassmancody.info 9e80091aff clear up force shaders and make it less convoluted 4 years ago
glassmancody.info d4e7d25d14 Make life not suck for whoever wants to edit lighting shaders 4 years ago
glassmancody.info eecb9886a9 Shader cleanup, fix indicies 4 years ago
glassmancody.info 4ba473b684 Finalize settings, torch fix 4 years ago
glassmancody.info 71c30a31df in-game settings, some require restart 4 years ago
glassmancody.info d195602a9d Switch to shared layout, some rewording 4 years ago
glassmancody.info 690995988b More formatting, OpenCS cells are unbroken 4 years ago
glassmancody.info 24454a1698 Switch to integer, uint not reliable in GLSL 120 4 years ago
glassmancody.info ec27e60284 Cutoff conditional in light shader 4 years ago
glassmancody.info 05a5cee132 Brighter point lights and light fade 4 years ago
glassmancody.info 43ac32921c Rewrite, support different lighting methods 4 years ago
glassmancody.info 9d9074c244 Add shared UBO 4 years ago
glassmancody.info dda735c54a initial commit 4 years ago
AnyOldName3 f8f6d63d4c Optimise groundcover lighting 4 years ago
Andrei Kortunov 5124e81348 Use linear interpolation instead of abrupt transitions for groundcover lighting 4 years ago
Andrei Kortunov 14cf0ce1dc Implement instanced groundcover 4 years ago
Alexei Dobrohotov 09759c6620 Clean up shader lighting 4 years ago
Capostrophic 91514aed5d Don't deliberately do redundant assignments 5 years ago
Capostrophic c0b322b264 Improve color mode handling in shaders 5 years ago
Capostrophic e49232074b Shader adjustments
Clamp directional per-vertex diffuse lighting
Simplify vectors
6 years ago
Capostrophic 02242ce66b Fix shader specular lighting (again) 6 years ago
AnyOldName3 5b2691e744 Actually use specular shininess parameter instead of hardcoded value. 6 years ago
AnyOldName3 f3fc888ab9 Merge branch 'osgshadow-test-vdsm-mesa-optimised-shader-2' into osgshadow-test-vdsm 6 years ago
AnyOldName3 e22ab64ebf Fix typo in lighting.glsl 6 years ago
AnyOldName3 ce15369bbd Convert colorMode shader define to a uniform 6 years ago
AnyOldName3 1098bd2467 Optimise lighting.glsl for Mesa users. 6 years ago
AnyOldName3 b25b356081 Sort out shader indentation 7 years ago
AnyOldName3 44b2cf2b7f Merge upstream. 7 years ago
bret curtis 4890ecd357 remove native GLESv* support, as it never worked; make things less complicated as result, fixed lighting.glsl to work with gl2es thanks to ptitSeb 7 years ago
AnyOldName3 e0ce284272 Fix the same shader preprocessor variable issue for the third time now 7 years ago
AnyOldName3 2b78fb436d Fix issue with shader preprocessor variables 7 years ago
AnyOldName3 ebd3dcf2b3 Remove unnecessary preprocessor variable in shaders 7 years ago
AnyOldName3 e33bec97be Tidy up the mess I made of lighting.glsl a bit by removing two single-line functions that are only ever called in one location. 7 years ago
AnyOldName3 26ecf2088b Make shadows play nicely with per-vertex lighting 7 years ago
AnyOldName3 c67b3267fb Stop shadowing ambient lighting from the light casting a shadow when using per-pixel lighting. 7 years ago
AnyOldName3 f50063402d Adjust shaders to support shadows 7 years ago
scrawl 45ae8d5ffa Add support for GL_AMBIENT colorMode to shaders as required by particle systems 8 years ago
scrawl 77bc807305 Attenuate the light ambient in lighting.glsl (Fixes #3597) 8 years ago
scrawl 900b522d13 Rename viewPos to viewDirection 9 years ago
scrawl f01e8a6950 Add specular mapping for objects 9 years ago
scrawl a73512afb7 Add shader settings to settings.cfg 9 years ago
scrawl 18e80d5627 Add per-pixel lighting code 9 years ago
scrawl 1223bca3d4 Move doLighting to separate file 9 years ago