Sébastien Noel
f149c36b44
Fix a few typos ( #5598 )
2023-10-24 20:33:45 -04:00
Goober5000
e621dbe997
Merge pull request #5464 from Goober5000/render_constify
...
add const where appropriate to the modelrender API
2023-10-21 15:57:24 -04:00
Mike Nelson
9afe76b5d2
force msaa in-game toggle to require restart ( #5688 )
2023-10-21 11:44:15 -04:00
Tyler Blount
15d9b9b3db
Merge pull request #5689 from MjnMixael/fix_lightshafts_optimization
...
Fix lightshafts and bloom in-game options
2023-10-20 15:09:03 -07:00
mjn-mixael
941d5f7ec3
Move the option definition to a file that doesn't require glad.h for building and resolve xstr issue
2023-10-20 14:01:50 -05:00
mjn-mixael
21f92194f1
Add deferred lighting as an in-game option
2023-10-20 12:38:53 -05:00
mjn-mixael
e32ea7b694
Merge branch 'master' into fix_lightshafts_optimization
...
# Conflicts:
# code/graphics/post_processing.cpp
2023-10-18 23:09:43 -05:00
mjn-mixael
aee48373ab
Make sure these post processing variables are not optimized out of non Debug builds
2023-10-18 15:07:21 -05:00
mjn-mixael
762cf4cb88
We'll get this right eventually
2023-10-18 13:45:55 -05:00
mjn-mixael
705287c8d4
"nothing" to see here
2023-10-18 13:26:05 -05:00
mjn-mixael
e2aac31912
Merge branch 'master' into scpui_options_localization
...
# Conflicts:
# code/camera/camera.cpp
2023-10-18 12:49:48 -05:00
mjn-mixael
de1110650f
Adjust XSTR IDs per feedback
2023-10-18 08:42:25 -05:00
BMagnu
b3295e5a2d
Fix near z planes for the cockpit rendering ( #5654 )
...
* Properly unify cockpit near planes
* Properly pass near plane to deferred shader
2023-10-18 08:08:22 -04:00
BMagnu
0cbe06884b
Allow to Capture Mouse in FSO window ( #5678 )
...
* Allow to capture mouse, and also make window present
* Fix Typo
2023-10-17 03:57:21 +09:00
BMagnu
02e84f212a
Fix HUD slewing ( #5656 )
...
* Fixup HUD for slewing
* Fix Training Message box
* Lead indicator slew
* Fix HUD Message Head
* Correctly render messages
* Fix HUD offset handling
* HUD offset never makes any sense
* Cleanup offset code
* Remove unused parameter
* Fix Talking Head in RTT mode
2023-10-16 01:44:17 +09:00
BMagnu
febd8cd2ad
Allow an asymmetric FOV / Frustrum ( #5657 )
...
* Enable Asymmetric Projection FOV
* Properly apply asymmetric FOV to g3_rotate_ functions
* De-CPP14-ify
* cleanup
* Make GCC happy
* Fix Vertical Asymmetric FOV
* Fix printf
2023-10-15 05:39:24 +09:00
mjn-mixael
a0a523223c
clean up options builders and use delayed xstr for localization
2023-09-22 19:15:42 -05:00
Tyler Blount
0af3197a90
Follow-up for briefing icon scaling
2023-09-01 12:15:41 -07:00
Goober5000
fe42c7bdff
make alpha value work for streaming EFFs
2023-08-14 18:07:21 -04:00
Goober5000
f706d6c0a0
use the correct resize mode
2023-08-14 17:40:47 -04:00
BMagnu
41312265d5
Decouple MSAA from deferred end ( #5467 )
2023-06-21 06:17:56 +09:00
Goober5000
17d36156cb
add const where appropriate to the modelrender API
...
See title. There were some cascade effects, but the changes are mostly contained to the model code. The calls to `gr_render_model` and `g3_render_primitives` use `const_cast` because constifying that API would require a whole other PR.
2023-06-18 14:05:46 -04:00
BMagnu
7c0827aaa2
Move bad check ( #5455 )
2023-06-10 23:13:26 +02:00
Asteroth
60f3aa59d6
Make lasers less kinky ( #5446 )
...
* properly handle trapezoidal bitmaps
* clean up
* fixup single segment trails too
* fix
2023-06-07 19:59:07 -04:00
BMagnu
8562dde955
OpenGL Capability Handling ( #5445 )
...
* Init Particle shaders only if they're actually used
* set layout correctly
* Don't compile shadow shader if not needed
* Properly deal with capabilities
* Fix typo
* remove obsolete capability
2023-06-07 19:58:55 -04:00
Goober5000
ab5e016dbb
some updates to the lighting profile code
...
1. Add const qualifier where appropriate to API methods
2. Change `TonemapperAlgorithm` from enum to enum class, for type safety and token scope
3. Update saving of lighting profile in FRED
4. Add saving of lighting profile in qtFRED
5. Add lighting profile (and asteroid) initialization to qtFRED
2023-06-04 16:09:51 -04:00
BMagnu and Fabian Woltermann
b0b05b35fd
MSAA ( #5400 )
...
* Add MS buffers
* Implement basic MSAA with commandline
* Move MSAA init to deferred pipeline
* Fix shadows when MSAA is enabled
* Implement resolve shader
* Cleanup basic resolve shader
* Implement front-first depth-aware MSAA resolve
* Fix background resolve
* Allow setting MSAA level
* Ensure good MSAA level
* Code Median shader for different sample counts
* Cleanup
* Add MSAA options toggle
* Add MSAA sample count pre-parsing
* Add GL scope
Co-authored-by: Fabian Woltermann <[email protected] >
* Typo
2023-05-14 08:14:51 +00:00
EatThePath
89ffbb5a34
Merge pull request #5347 from EatThePath/ltp/profile-code-reorg
...
lighting profile code reorg
2023-05-13 21:11:58 -04:00
Goober5000
04a9de69ea
Merge pull request #5375 from Goober5000/4562_redux
...
Modernise CFLAGS on Mac/Linux
2023-05-01 23:25:20 -04:00
mjn-mixael
9e5894512c
warn instead of error
2023-04-30 10:57:15 -05:00
Goober5000
64c27d8186
fix unused variable warnings
2023-04-26 19:36:16 -04:00
ETP
57f9455f6c
moving lighting profiles into a namespace and arranging it as cleanup for future changes
2023-04-17 14:36:41 -05:00
Goober5000
7018a560b9
streamline type conversion
2023-04-15 00:06:33 -04:00
Goober5000
bcc964d0fa
color tweaks
2023-04-15 00:06:33 -04:00
Fabian Woltermann
1d52bc5876
make sure deferred_global_data follows the alignment rules ( #5331 )
2023-04-13 20:45:56 +00:00
mjn-mixael
900abcf680
expose texture filtering as a built-in option
2023-03-14 11:00:55 -05:00
Fabian Woltermann
2392a6cc7d
Merge pull request #5231 from BMagnu/volumetric_nebulae
...
Localized Volumetric Nebulae
2023-03-06 16:38:14 +01:00
BMagnu
7893f0e3c5
Remove superfluous comment
2023-03-06 00:15:59 +09:00
BMagnu and Fabian Woltermann
c2a61c7d86
Update volumetric fog uniform buffer
...
Co-authored-by: Fabian Woltermann <[email protected] >
2023-03-06 00:14:58 +09:00
Birk Magnussen
b3502ba413
Add GR debug scopes
2023-03-05 13:13:51 +01:00
Birk Magnussen
3917890981
Don't render volumetrics when fog is disabled
2023-03-05 13:03:01 +01:00
Adam Leach
a150dc8255
Enable debug scope on release builds
2023-03-05 11:33:45 +00:00
Birk Magnussen
5b06f84771
Correct depth for FoV abberation
2023-03-04 23:24:34 +01:00
Birk Magnussen
5e285e42bc
Set proper texture address mide
2023-03-02 21:17:56 +01:00
BMagnu
db8292be03
Add noise color intensity
2023-03-02 12:54:00 +01:00
BMagnu
5e9dd9aef5
Calculate alpha for things rendered after the nebula
2023-03-02 12:35:35 +01:00
Birk Magnussen
dd1641fd15
Fix coordinates
2023-02-28 21:11:07 +01:00
Birk Magnussen
8f697dd03a
Fix Noise, Fix Scale, Fix Pos
2023-02-24 23:50:50 +01:00
BMagnu
a60512cfa4
Add parsing for nebula settings
2023-02-24 14:51:18 +01:00
BMagnu
2fd24ecf29
Begin integration into mission
2023-02-24 14:16:38 +01:00