Commit Graph

43 Commits (06bf80cc3b6e9ebd4907f192b30a54766f334b98)

Author SHA1 Message Date
elsid 6e0eb64538
Use normalized path for glow texture names 3 months ago
elsid 1fd6ac6438
Use normalized path in ImageManager 4 months ago
Alexei Kotov 908f3891fb Add helper method for texture type recovery 8 months ago
Alexei Kotov 84f4ba4ca1 Support defining the texture type with a state attribute (#6240)
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
8 months ago
Alexei Kotov 443e341ae7 Generalize unsized pixel format computation 9 months ago
Alexei Kotov 3c0c1717a9 Fix red-green normal map handling for terrain 9 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
elsid 4d6350539c
Move FindLowestUnusedTexUnitVisitor to unnamed namespace
It's not used anywhere except this translation unit so no need to make the
symbol available everywhere else.
12 months ago
elsid 3ad79e3b3e
Pregenerate glow texture names
To avoid strings generation and allocations every time model is added to a
scene.
12 months ago
elsid 08902371b4
Use settings values for Shaders settings 1 year ago
elsid 843753da14
Remove unused includes 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Evil Eye 0df45a90b3 Use string_view in the remaining Class methods and push string_views closer to the MyGUI boundary 2 years ago
cody glassman 04843fed6d moddable post-processing pipeline 3 years ago
Alexei Dobrohotov aaea2bc0f6 Implement transformBoundingSphere for both sphere types (bug #6579) 3 years ago
AnyOldName3 d66907ba67 Log OpenGL Vendor, Renderer and Version on startup 3 years ago
Cody Glassman d85f772269 Depth refactor 3 years ago
cody glassman 04692e6012 blackscreen fix 3 years ago
Bo Svensson b2af81bc18
converts remaining osg::NodeCallback (#3147)
With this PR we convert remaining instantiations of the deprecated osg::NodeCallback in Open MW to SceneUtil::NodeCallback.
3 years ago
Bo Svensson 8358418555
set the correct program link parameters (#3110)
* shadermanager.hpp setProgramTemplate

* shadermanager.hpp

* shadermanager.cpp setProgramTemplate

* shadervisitor.hpp setProgramTemplate

* shadervisitor.cpp setProgramTemplate

* scenemanager.cpp setProgramTemplate

* scenemanager.hpp setProgramTemplate

* renderingmanager.cpp

* groundcover.cpp setProgramTemplate

* groundcover.hpp

* groundcover.cpp

* shadervisitor.cpp

* util.cpp

* lightmanager.cpp

* scenemanager.cpp

* scenemanager.hpp

* lightmanager.cpp

* lightmanager.cpp

* lightmanager.cpp

* scenemanager.hpp [ci skip]

* water.cpp

* groundcover.cpp

* shadermanager.hpp
3 years ago
glassmancody.info d63eb3325f fix coverity warning and build on some osg 3 years ago
glassmancody.info cdf5b315c3 fix mac runner undefined macro 3 years ago
glassmancody.info 09e03fde2e refactor and fix wobbly shores 3 years ago
glassmancody.info cad0b151cb enable shaders path and dehardcode depth formats 3 years ago
glassmancody.info b457dfd8b8 fix water RTTs and minor math error in non-infinite projection matrix 3 years ago
glassmancody.info 70fac33940 initial reverse-z depth implementation 3 years ago
Evil Eye 2be27da791 Merge branch 'const_refs' into 'master'
Add a ton of const refs

See merge request OpenMW/openmw!954
4 years ago
jvoisin cf11870b1c Sprinkle some references where it makes sense 4 years ago
jvoisin 1123dc46ee Add a ton of const refs 4 years ago
AnyOldName3 168f26fc80 Fix crash on startup 4 years ago
AnyOldName3 c6033b4de6 Fix #5904 4 years ago
AnyOldName3 46a1715d8a Actually return something 4 years ago
AnyOldName3 f5a87ee46d Refactor out duplicated RTT setup code 4 years ago
AnyOldName3 5ad297e6ff Guarantee glow updater regenerates shaders on completion
Previously, it would edit the odd numbered stateset, then regenerate
shaders for the even-numbered one, then edit the even numbered one, and
regenerate shaders for the odd numbered one (or vice versa if it
finished during an even numbered frame). This would leave one of the
shader programs still trying to use the state that had been removed.
4 years ago
Andrei Kortunov 8ca3c3b123 Mark overrided methods by override keyword 4 years ago
Andrei Kortunov 8557346fbd Use glow for enchanted arrows (feature #5122) 5 years ago
Andrei Kortunov 9e4a339ad3 Daytime node switch support (feature #4836) 6 years ago
elsid 70a369f70e
Add command to enable NavMesh render
togglenavmesh or tnm
6 years ago
scrawl 03554b2f4b Fix some style issues flagged by cppcheck 7 years ago
scrawl fc7456e0a1 Explicitely opt for float matrices in performance critical places 9 years ago
scrawl 15bdb7db01 transformBoundingSphere optimization 10 years ago
scrawl b0ea51a5c8 Colour conversion utility 10 years ago
scrawl 591a35b8d7 *very* early version of the LightManager 10 years ago