elsid
624ffef4fe
Reduce block nesting
2023-05-11 10:26:18 +02:00
AnyOldName3
61712168c6
Make things less readable to appease authoritarian line length limit
2023-04-30 02:05:35 +01:00
AnyOldName3
ab625804ab
Skip adjusting near and far planes for instances that won't affect it
2023-04-30 01:58:43 +01:00
AnyOldName3
f0fcb5e5df
Compute instance matrices once
2023-04-30 00:41:09 +01:00
AnyOldName3
f2fa607f41
Use chunk-relative position
...
Also apply .clang-format
2023-04-24 22:39:18 +01:00
AnyOldName3
f721be90aa
Swap matrix order
...
It still doesn't work, but I think this is more likely to be right.
2023-04-24 22:07:46 +01:00
AnyOldName3
42711089e7
Minor fixes
...
Add CullVisitor include.
Swap return values of cull callback.
2023-04-23 17:40:19 +01:00
AnyOldName3
43eb739313
Maybe compute an accurate near and far plane using primitives for groundcover
...
I couldn't reproduce the original bug, so can't verify whether this
fixes it.
There's a strong chance I've boffed the matrix multiplication order.
If it's the same as GLSL, then everything *should* be fine.
2023-04-23 00:15:45 +01:00
Mads Buvik Sandvei
fe066069d7
/components/ code should not access the stereo manager without checking whether or not stereo is enabled first. Stereo component code should not read settings itself, but rather take settings as parameters.
2023-04-22 16:11:42 +02:00
Petr Mikheev
f1beaa7b8c
Put ESMStore to Environment
2023-04-20 21:45:49 +02:00
Petr Mikheev
f09a689a4f
Merge ESM::RefNum and ESM4::FormId
2023-04-09 00:23:32 +02:00
psi29a
b0a129d6e4
Merge branch 'ripples' into 'master'
...
Implement shader-based water ripples
See merge request OpenMW/openmw!2877
2023-04-02 22:43:22 +00:00
Andrei Kortunov
646148dfc8
Use GL_HALF_FLOAT because we use GL_RGBA16F
2023-04-02 14:19:44 +04:00
Mads Buvik Sandvei
e666f36b60
[Multiview] Fix transparent pass and vertex shader
2023-04-01 20:27:07 +00:00
Andrei Kortunov
e17281ac67
Implement shader-based water ripples (feature 3537)
2023-04-01 17:26:19 +04:00
Evil Eye
99ab08eaef
Rotate blizzard particles
2023-03-30 19:20:00 +02:00
elsid
04d7781424
Support not only StringRefId for checking first person body part
2023-03-19 17:49:41 +01:00
Shi Han
a90e3b8c3b
Move from std::atoi to std::from_char
2023-03-18 09:30:48 +00:00
psi29a
e37860c1dc
Cherry pick 'openmw-48-stereo-fixes' into 'master'
...
Openmw 48 stereo fixes
See merge request OpenMW/openmw!2815
2023-03-12 22:20:23 +01:00
Petr Mikheev
e007dc9d6b
Log reserving texture units
2023-03-04 00:55:34 +01:00
elsid
dfcea389be
Add helper functions for string comparison to RefId
2023-03-03 00:39:55 +01:00
Alexei Dobrohotov
6aef366fd3
Attach shaders to geometry that lacks a stateset if necessary
2023-02-28 20:13:16 +03:00
Cody Glassman
924ba11826
Default shader at root
...
Assign a default shader to the scene root, otherwise objects without an assigned shader will use the FFP. An example of this is a trishape with no material, resulting in an empty stateset on the drawable level.
2023-02-26 09:32:25 -08:00
psi29a
2aac6abb85
Merge branch 'sun_writes' into 'master'
...
Sun flickering on Mac (part of #7052 )
See merge request OpenMW/openmw!2768
2023-02-26 15:32:07 +00:00
Cody Glassman
fb5979312f
fix sunglare flash, make sure all bound render targets have color masks set
2023-02-25 15:14:01 -08:00
Cody Glassman
ac4787aeec
shade refactor
2023-02-25 11:03:39 -08:00
Petr Mikheev
0c3237ad78
Fix #7223
2023-02-18 16:24:10 +01:00
elsid
2c43a8558a
Add option to disable debug log for unsupported nif files
...
It becomes quite extensive and not very useful when loading oblivion content
files.
2023-02-08 22:59:29 +01:00
florent.teppe
486d15b19e
moved light common to its own file
...
moved esm4light to it's own file
2023-02-07 16:29:17 +01:00
florent.teppe
dc961e3189
Adds the light into the scene.
...
Common struct for ESM3 and ESM4 light
2023-02-07 10:07:59 +01:00
psi29a
4032c447e9
Merge branch 'load-ESM4-Cell' into 'master'
...
Can load and coc into an interrior oblivion cell
See merge request OpenMW/openmw!2647
2023-02-06 08:56:23 +00:00
glassmancody.info
e778ffee9b
po2 scaling for average luminance
2023-02-05 12:30:38 -08:00
florent.teppe
084207af64
Avoids a lot a special cases for ESM3 vs ESM4 cells.
2023-02-04 23:25:06 +01:00
florent.teppe
1caed2de2a
Applies some review comments.
...
Proper visit for ESM::CellVariant
Fixed MWWorldCell constructor
2023-02-04 17:09:54 +01:00
psi29a
68ad3f8f10
Fix building water.cpp on macos
2023-01-30 17:04:41 +00:00
psi29a
6559860310
Merge branch 'water_nm_to_vfs' into 'master'
...
Move water normal to vfs (#7180 )
Closes #7180
See merge request OpenMW/openmw!2657
2023-01-30 13:18:27 +00:00
glassmancody.info
897ee702d1
move water normal to vfs
2023-01-29 11:14:08 -08:00
florent.teppe
ebfee18e35
implements std::visit for CellVariant, fixes struct vs class forward decl
2023-01-29 11:28:39 +01:00
glassmancody.info
165013ddd6
remove redunant conditional checks when getting uniforms
2023-01-28 10:40:24 -08:00
florent.teppe
23614ae2ae
Renamed esm3esm4bridge => esmbridge
2023-01-27 18:40:15 +01:00
florent.teppe
531e55e04c
Better handling of the esm3 vs esm4 cell problem
...
Common attribute are in one structure that has two constructors, one for ESM3 vs ESM4 Cell
Mood part of MWWorld::Cell
2023-01-27 13:39:39 +01:00
florent.teppe
c896a2ca48
Crashfix on launch
2023-01-26 22:37:32 +01:00
florent.teppe
0018bcf7de
Should make cellvariant safer to use.
...
Hopefully clang tidy agrees.
2023-01-26 22:37:32 +01:00
florent.teppe
562e129bd0
encapsulations of esm3 cell and esm4 cells.
2023-01-26 22:37:31 +01:00
Petr Mikheev
5983f22290
Remember actor in the actor's InventoryStore instead passing the actor in every call
2023-01-21 23:43:00 +01:00
psi29a
1422053fa9
Merge branch 'more_uniforms' into 'master'
...
[Postprocessing] Add sky and ambient colors
See merge request OpenMW/openmw!2638
2023-01-21 22:42:21 +00:00
glassmancody.info
564c408663
expose more uniforms to postprocessing
2023-01-20 17:43:54 -08:00
glassmancody.info
27fe8d42ae
fix pass normals
2023-01-19 09:28:51 -08:00
Alexei Kotov
6ff9b5d326
Make use of ends_with for KF
2023-01-15 01:48:06 +03:00
Alexei Kotov
e24db874dc
Correct xnif use for creatures
2023-01-14 04:55:12 +03:00