AnyOldName3
0edc8fc77d
Don't use FFP-friendly texture image units for shadow maps
...
This more-or-less gets rid of the shadow system's only depencency on FFP
stuff. All that remains is it using OSG cameras, which OSG provides a
uniform-based implementation of, too, which we can trivially migrate to.
This should mean we're not eating any of the ~8 FPP-friendly texture
units, which is good as Morrowind models can use all of those on their
(although they very rarely do), and instead use some of the ~160
shader-only texture image units. This just requires not calling
glEnable(GL_TEXTURE_2D), accomplished by changing
setTextureAttributeAndModes to setTextureAttribute.
Also changes from using glTexGen and its eye plane matrices to pass the
shadow space matrix for each light to explicit uniforms. Thankfully, the
maths was a simple combination of the valid region matrix and eye plane
matrix maths.
As of this commit, I believe this kills shadows in one eye for stereo
rendering.
2023-02-05 00:40:33 +00:00
psi29a
a9dbb023d7
Merge branch 'lua_create' into 'master'
...
Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726 , #6893 )
See merge request OpenMW/openmw!2627
2023-01-22 13:27:10 +00:00
Andrei Kortunov
a774a51699
Improve duration tooltip
2023-01-22 14:32:47 +04:00
Petr Mikheev
c294898246
Lua commands to create/move/remove objects; consistent handling of disabled objects ( #6726 , #6893 )
2023-01-22 00:08:21 +01:00
psi29a
90d9cc5042
Merge branch 'old-editor-icons' into 'master'
...
Remove old, unused OpenMW-CS icons and their source files.
See merge request OpenMW/openmw!2624
2023-01-21 22:44:06 +00:00
psi29a
761aef61ae
Merge branch 'normal_fix' into 'master'
...
Fix pass normals (#7146 , #7145 )
See merge request OpenMW/openmw!2635
2023-01-21 16:36:45 +00:00
Kindi
07da7eddea
Add remap and round to lua utils
2023-01-20 22:28:34 +00:00
glassmancody.info
27fe8d42ae
fix pass normals
2023-01-19 09:28:51 -08:00
Lamoot
4ab5be6f3f
Remove old, unused OpenMW-CS icons and their source files.
2023-01-16 16:08:41 +01:00
Andrei Kortunov
902c48d1bb
Rework launcher UI
2023-01-15 12:36:08 +04:00
Alexei Kotov
58b8bf883a
Merge branch 'text_wrap_tooltip' into 'master'
...
Add text-wrapping to a tooltip (redo)
See merge request OpenMW/openmw!2580
2023-01-15 00:53:29 +00:00
Petr Mikheev
b9d38ae8d8
Fix #7156 "Autorun is broken"
2023-01-13 23:26:09 +01:00
psi29a
0028127b42
Merge branch 'lua_mwscript' into 'master'
...
Access local mwscript variables in Lua scripts
See merge request OpenMW/openmw!2589
2023-01-10 08:47:12 +00:00
psi29a
c24f43ec32
Merge branch 'occlusion_tweaks' into 'master'
...
Weather occlusion updates
See merge request OpenMW/openmw!2595
2023-01-08 22:13:36 +00:00
psi29a
2754d63e45
Merge branch 'cleanup_actions' into 'master'
...
Cleanup unused actions
See merge request OpenMW/openmw!2591
2023-01-08 20:14:35 +00:00
glassmancody.info
ee1acd6eb1
add sfc setting, only add to subgraph when enabled
2023-01-08 11:55:33 -08:00
Petr Mikheev
7a0b998d4f
Cleanup unused actions
2023-01-07 23:42:53 +01:00
psi29a
b6d0d09c5a
Merge branch 'cell_hastag' into 'master'
...
[Lua] New function `cell.hasTag`
See merge request OpenMW/openmw!2567
2023-01-07 22:22:31 +00:00
Petr Mikheev
8c7cad024b
Access local mwscript variables in Lua scripts
2023-01-07 22:10:10 +01:00
glassmancody.info
9a4977d334
rain occlusion
2023-01-06 22:23:03 -08:00
Petr Mikheev
7f117a28c8
Merge branch 'updateluacoredoc' into 'master'
...
update lua doc : recordid desc
See merge request OpenMW/openmw!2576
2023-01-05 11:27:33 +00:00
Jack Hill
4a16bdb767
Add text-wrapping to a tooltip
...
Namely the "Always allow NPC to follow over water surface" tooltip.
2023-01-04 22:43:29 +00:00
psi29a
319aa11d84
Merge branch 'l10n_rename' into 'master'
...
Reorganize l10n files
See merge request OpenMW/openmw!2546
2023-01-04 21:48:00 +00:00
psi29a
7b001246ee
Merge branch 'l10n' into 'master'
...
Localization updates
See merge request OpenMW/openmw!2571
2023-01-04 14:33:02 +00:00
psi29a
1e62b84f9a
Merge branch 'lua_initdata' into 'master'
...
Allow passing `initData` to the :addSript call (#7091 )
Closes #7091
See merge request OpenMW/openmw!2568
2023-01-04 14:32:23 +00:00
Rasinin
02f0af42d9
updateluacoredoc: recordid desc
2023-01-04 17:59:19 +08:00
Petr Mikheev
f0a06258fb
[Lua] New function cell:hasTag
2023-01-02 18:24:37 +01:00
Petr Mikheev
8c7d347179
Reorganize l10n files
2023-01-02 13:21:05 +01:00
Alexei Kotov
cecc3cb736
Slightly more natural wording for Windowed Fullscreen hint
2023-01-02 14:51:25 +03:00
Alexei Kotov
ecadcc37bb
OMWControls: Russian localization
2023-01-02 14:50:46 +03:00
Alexei Kotov
563324bcff
Merge branch 'swedish-translations-omwcontrols' into 'master'
...
Updates to Swedish translations (OMWControls)
See merge request OpenMW/openmw!2569
2023-01-02 11:28:34 +00:00
Petr Mikheev
1a2d6514ba
Fix incorrect description is Lua docs
2023-01-01 20:19:56 +01:00
Joakim Berg
f120622dad
Updates to Swedish translations
2023-01-01 14:00:32 +00:00
Petr Mikheev
b248c3e173
Allow passing initData
to the :addSript call ( #7091 )
2022-12-31 22:08:17 +01:00
Petr Mikheev
1879c70d1e
Return back old settings description and mention that they are moved to the in-game menu
2022-12-28 22:04:19 +01:00
Petr Mikheev
1869aeae5c
Move some of player controls logic from C++ to Lua
2022-12-28 22:04:19 +01:00
psi29a
ba2ececa93
Merge branch 'resolution' into 'master'
...
Improve window mode change
Closes #7087
See merge request OpenMW/openmw!2530
2022-12-28 10:45:14 +00:00
psi29a
56b493877b
Merge branch 'fonts' into 'master'
...
Improve Mystic cards font
See merge request OpenMW/openmw!2516
2022-12-28 10:44:21 +00:00
Andrei Kortunov
9e77654ab4
Add a hint about disabled resolution list in the Windowed Fullscreen mode
2022-12-27 13:42:39 +04:00
AnyOldName3
66b8d4fb29
Add a setting to control coverage adjustment
...
With it on, which was always the case before this setting was added,
vanilla content and poorly-made mods will look acceptable, but well-made
mods will have alpha-tested meshes appear to grow and potentially gain a
weird outline as they get further away.
With it off, which replicates the 0.46 behaviour, well-made mods will
look really good, but vanilla content and poorly-made mods will have
alpha-tested meshes shrink as they get further away.
It's been bugging me that this was forced on since 0.47 released, and
I'd hoped to figure out a solution for automatic detection at some point
before 0.48 branched off, but I didn't, so now this is what we're
getting to have Tamriel Rebuilt look right.
2022-12-09 00:22:08 +00:00
psi29a
1d55be8214
Merge branch 'lua_profiler' into 'master'
...
Lua profiler
See merge request OpenMW/openmw!2523
2022-12-07 10:53:47 +00:00
Petr Mikheev
7c36a7eb49
Run Lua GC in every frame
2022-12-03 17:09:11 +01:00
Petr Mikheev
55db95d4cf
Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case)
2022-12-03 16:58:03 +01:00
Petr Mikheev
02a9069a0e
Lua Profiler
2022-11-30 00:06:14 +01:00
Evil Eye
a648e4cc11
Add option to restore non-MCP Calm spell behaviour
2022-11-23 20:59:37 +01:00
Joakim Berg
e3619e40fe
Some Swedish translations
2022-11-21 08:45:35 +00:00
Andrei Kortunov
1851a5afe0
Improve Mystic cards font
2022-11-20 12:15:53 +04:00
Andrei Kortunov
282f4cf9c3
Add missing translations
2022-11-20 11:54:59 +04:00
Andrei Kortunov
da5b442fcf
Improve postprocess HUD layout
2022-11-10 08:31:21 +04:00
uramer
1789160057
Clear storage of setting groups on reloadlua
2022-11-06 19:36:58 +01:00