David Cernat
572b16af41
Add OpenMW 0.47 commits to OpenMW VR up to 4 Dec 2021
...
# Conflicts:
# .gitlab-ci.yml
# CI/before_script.msvc.sh
# CI/install_debian_deps.sh
# CMakeLists.txt
# apps/openmw/mwrender/screenshotmanager.cpp
# files/ui/advancedpage.ui
3 years ago
psi29a
93f495ecb5
Merge branch 'properly_initialize_lightsettings' into 'master'
...
Properly initialize light settings
See merge request OpenMW/openmw!1083
(cherry picked from commit 1f8209158baf6301048bf023651e9b38a9a099b3)
1e52ca2b properly initialize light settings
3 years ago
psi29a
d6a2838c8b
Merge branch 'even-fixier-alpha' into 'master'
...
Correctly track added and removed state to fix various alpha testing issues
Closes #6119
See merge request OpenMW/openmw!989
(cherry picked from commit 94be4eba18d328391a2c2aea85bb029e80b32cee)
0e57622b Correctly track added and removed state
e42b3bf9 Adapt destination alpha factor for AMD
84a9face Disable coverage adjustment for blended objects
4 years ago
Bret Curtis
868a5b35e3
workaround shadow issue on macOS, https://gitlab.com/OpenMW/openmw/-/issues/6057
4 years ago
jvoisin
7f4f2c042e
Use sizeof(GLfloat) instead of sizeof(GL_FLOAT)
...
GL_FLOAT is an enum, with the value 0x1406, while GLFloat is the actual type.
Source: https://www.khronos.org/opengl/wiki/OpenGL_Type
4 years ago
elsid
d4f28ac979
Avoid resetting buffer object when configuring light buffer layout
...
Otherwise this casues RaceSelectionPreview to have no light until first change.
4 years ago
madsbuvi
d1aaa74193
Rewrite of tracking logic.
4 years ago
Andrei Kortunov
11c57978b6
Fix crashes on exit in the LightManager (bug #6044 )
4 years ago
Andrei Kortunov
c54ef55ebb
Revert "Replace raw pointer by observer_ptr to avoid dangling pointer dereferencing"
...
This reverts commit 5373cf1cd5
.
4 years ago
elsid
d520b440aa
Copy LightBuffer data into a new object when changing layout
...
Before this change LightBuffer copy constructor copied only mData pointer into
a new object. Then memcpy was applied to an overlapping source and destination
that is UB.
Replace configureLayout function by a special constructor. That copies all
mData values and a pointer to a buffer object into a newly allocated object.
4 years ago
elsid
5373cf1cd5
Replace raw pointer by observer_ptr to avoid dangling pointer dereferencing
...
When game exit is requests when initial loading screen is active LightManager
can be destructed in the main thread before LightManagerStateAttribute::apply
is completed by different thread. Given that it uses raw pointer at some point
it becomes dangling because object is destructed this leads to UB and eventual
SIGSEGV.
4 years ago
Andrei Kortunov
2e8873af51
Add new scene nodes to scene graph serializer blacklist
4 years ago
jvoisin
d45184a730
Sprinkle some const-ref to avoid unnecessary copies
4 years ago
Chris Djali
f0cef87cd8
Merge pull request #3069 from akortunov/msvc_warnings
...
Rework warnings settings
4 years ago
Andrei Kortunov
18a4c81b5c
Merge branch 'fix_toggleborders' into 'master'
...
Fix ToggleBorders debug view with 'Shaders' lighting method
See merge request OpenMW/openmw!792
4 years ago
AnyOldName3
ceb6a280ff
Fix typo
...
Hopefully this will actually let us make better use of shadow bounds,
but I wouldn't count on it.
4 years ago
glassmancody.info
9f314d1d6f
Fix ToggleBorders
4 years ago
madsbuvi
f4e36f4be5
Merge remote-tracking branch 'remotes/origin/master' into openmw-vr
4 years ago
Andrei Kortunov
6d351b2bdd
Fix MSVC 4706 warnings
4 years ago
Bret Curtis
50d6cd2a34
Merge pull request #3070 from akortunov/coverity
...
Fix an another portion of Coverity warnings
4 years ago
Bret Curtis
c6c92b5712
Merge pull request #3071 from akortunov/master
...
Fix an another batch of MSVC complaints
4 years ago
AnyOldName3
ff46eceabe
Merge branch 'maybe-reintroduce-5904' into 'master'
...
Fix crash on startup
See merge request OpenMW/openmw!709
4 years ago
Andrei Kortunov
d10399e083
Cast double constant to float explicitely
4 years ago
Andrei Kortunov
7d5c5f8a24
Do not assign negative values to unsigned variables
4 years ago
Andrei Kortunov
987b231fdd
Fix an another portion of Coverity warnings
4 years ago
psi29a
d0883f9a0d
Merge branch 'light_settings_tweak' into 'master'
...
Lighting patch
Closes #5957 and #5959
See merge request OpenMW/openmw!752
4 years ago
glassmancody.info
16856d45c5
Lighting Patch
...
Fixes build errors with older OSG builds and some issues with 'shared' layout.
Bring back ambient in inventory through lightmodel instead of sun ambient, mirrors scene ambient/sunlight relationship.
Forces shaders when certain lighting methods are enabled and finalize settings.
Correctly override sun for localmap.
4 years ago
Andrei Kortunov
0c7ddd3938
Remove redundant qualifiers
4 years ago
Andrei Kortunov
bce6effe95
Fix uninitialized variables in the LightManager
4 years ago
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
8ce65232ff
fix race condition with sun uniform
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
3d713e8602
Fix incorrect minimum ambient
4 years ago
glassmancody.info
280fd2b162
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
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
328ec85757
Code review cleanup, add setting documentation
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
168f26fc80
Fix crash on startup
4 years ago
AnyOldName3
c6033b4de6
Fix #5904
4 years ago
madsbuvi
1bee59c2b1
Merge remote-tracking branch 'remotes/origin/master' into openmw-vr
4 years ago
AnyOldName3
0431ba4c87
Merge branch 'alpha-meddling-shader-side-mip-meddling' into alpha-meddling
4 years ago