Rémi Verschelde
85e47d6fac
Merge pull request #109447 from jon1solution/ssao-in-gles3
...
Implement a very simple SSAO in GLES3.
2025-11-01 19:04:57 +01:00
Thaddeus Crews
3c1e479290
Merge pull request #110077 from clayjohn/mobile-glow
...
Overhaul and optimize Glow in the mobile renderer
2025-10-31 09:23:32 -05:00
clayjohn
2e59cb41f4
Optimize glow and tonemap gather step in the mobile renderer
...
Mobile devices are typically bandwidth bound which means we need to do as few texture samples as possible.
They typically use TBDR GPUs which means that all rendering takes place on special optimized tiles. As a side effect, reading back memory from tile to VRAM is really slow, especially on Mali devices.
This commit uses a technique where you do a small blur while downsampling, and then another small blur while upsampling to get really high quality glow. While this doesn't reduce the renderpass count very much, it does reduce the texture read bandwidth by almost 10 times. Overall glow was more texture-read bound than memory write, bound, so this was a huge win.
A side effect of this new technique is that we can gather the glow as we upsample instead of gathering the glow in the final tonemap pass. Doing so allows us to significantly reduce the cost of the tonemap pass as well.
2025-10-30 21:56:26 -07:00
David Snopek
ca0eb5da24
OpenXR: Fix resizing viewports used by OpenXRCompositionLayer
2025-10-30 17:40:52 -05:00
jon1solution
31ee691fbf
Implemented a very simple SSAO in GLES3.
2025-10-27 06:02:04 -07:00
BlueCube3310
542d805508
Compatibility: Set GL_TEXTURE_MAX_LEVEL to the number of mipmaps
2025-10-23 18:46:47 +02:00
Thaddeus Crews
da593d0c16
Merge pull request #111897 from allenwp/environment-adj-prioritize-old-behaviour
...
Improve `Environment` adjustments (favor old behavior and quality).
2025-10-23 11:03:56 -05:00
Allen Pestaluky
0c7f013c55
Improve Environment color adjustments; specifically brightness and HDR 2D contrast.
...
This commit changes adjustments to behave as follows for all rendering configurations:
- Apply brightness to linear-encoded values, preventing contrast, saturation, and hue from being affected.
- Apply contrast to perceptually uniform (nonlinear sRGB-encoded) values, matching existing behavior when HDR 2D is disabled and producing optimal visual quality.
- Apply saturation with even color channel weights. This causes brightness of certain colors to change, but matches existing behavior when HDR 2D is disabled.
Adjustments are applied after glow and tonemapping to match existing behavior.
2025-10-23 11:08:49 -04:00
Thaddeus Crews
3f34e38703
Merge pull request #109596 from atlasapplications/splash-screen-stretch-mode
...
Add Stretch Modes for Splash Screen
2025-10-21 19:09:33 -05:00
Thaddeus Crews
84d516fc91
Merge pull request #111834 from clayjohn/OBS-bug
...
Use `GL_FRAMEBUFFER` instead of `GL_DRAW_FRAMEBUFFER` when doing final blit to the screen framebuffer to work around OBS bug
2025-10-21 19:09:31 -05:00
Justin Sasso
b6b3e1ef9e
Add Stretch Modes for Splash Screen
...
Co-authored-by: Samuel Pedrajas <samuelpedrajaspz@gmail.com >
2025-10-21 18:20:44 -04:00
Skyth
c128886c63
Overhaul screen space reflections.
2025-10-21 19:23:38 +03:00
Clay John
7bde47e433
Use GL_FRAMEBUFFER instead of GL_DRAW_FRAMEBUFFER when doing final blit to the screen framebuffer to work around OBS bug
2025-10-19 19:25:28 -07:00
clayjohn
b20466d12f
Add all PowerVR devices to the ban list for disabling the transform feedback shader cache
2025-10-18 10:28:25 -07:00
Clay John
36b92128b1
Merge pull request #110671 from allenwp/environment-glow-consistent
...
Blend glow before tonemapping and change default to screen.
2025-10-14 21:29:43 -07:00
Allen Pestaluky
cafc012b05
Blend Environment glow before tonemapping and change default blend mode to screen.
...
Additionally, change the minimum `tonemap_white` parameter to `1.0`; users can increase `tonemap_exposure` for a similar effect to decreasing `tonemap_white` below `1.0`.
Co-authored-by: Hei <40064911+Lielay9@users.noreply.github.com >
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2025-10-10 12:08:08 -04:00
Bastiaan Olij
3a003b2d96
Ensure uv2_attrib(_input) is available when rendering lightmap.
2025-10-10 14:17:34 +11:00
Allen Pestaluky
bd9d1bf070
Add material debanding for use in Mobile rendering method.
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2025-10-08 16:22:41 -04:00
Kaleb Reid
f2d0ea6d40
Ensure reflection atlas is valid before rendering
2025-10-07 22:05:22 -07:00
Thaddeus Crews
cb164a38f2
Merge pull request #107384 from Kaleb-Reid/compat-directional-cull-mask
...
Implement DirectionalLight3D cull masks in Compatibility
2025-10-07 11:54:42 -05:00
Thaddeus Crews
fdc235f496
Merge pull request #110884 from Kaleb-Reid/fix-spotlight-aabb
...
Use correct AABB for SpotLight3Ds when `spot_angle > 90`
2025-10-06 14:34:05 -05:00
Thaddeus Crews
36b76fc84c
Merge pull request #110915 from Kaleb-Reid/compat-clear-buffers
...
Clear intermediate buffers when not in use in Compatibility
2025-10-06 14:34:04 -05:00
Thaddeus Crews
d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
...
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Thaddeus Crews
12aa435bbb
Merge pull request #107740 from Kaleb-Reid/compat-directional-shadow-scatter
...
Apply sun scatter from lights with shadows in compatibility
2025-10-06 09:06:44 -05:00
Thaddeus Crews
d364dacac1
Merge pull request #110004 from Kaleb-Reid/divide-luminance
...
Divide screen texture by luminance multiplier in compatibility
2025-10-06 09:06:33 -05:00
Thaddeus Crews
43a9999852
Merge pull request #111260 from devloglogan/compat-motion-vec-fix
...
Add null check when getting motion vector fbo
2025-10-06 09:06:30 -05:00
Thaddeus Crews
660bf91360
Merge pull request #111240 from Kaleb-Reid/compat-fix-backbuffer
...
Always use RenderSceneBuffers to manage backbuffer in Compatibility 3D
2025-10-06 09:06:23 -05:00
Kaleb Reid
79b1a6defc
Implement DirectionalLight3D cull masks in Compatibility
2025-10-04 16:08:27 -07:00
Lukas Tenbrink
1db0a60dc0
Replace std::size usage with std_size to avoid <iterator> include.
2025-10-05 00:26:11 +02:00
Kaleb Reid
a88c54a5c7
Clear intermediate buffers when not in use in Compatibility
2025-10-04 13:51:23 -07:00
devloglogan
39c449fc60
Add null check when getting motion vector fbo
2025-10-04 13:18:59 -05:00
Kaleb Reid
91167c3c23
Use correct AABB for SpotLight3Ds when spot_angle > 90
2025-10-04 02:12:51 -07:00
Kaleb Reid
e1f19d14dd
Always use RenderSceneBuffers to manage backbuffer in Compatibility 3D
2025-10-04 01:06:09 -07:00
Kaleb Reid
c20ab940aa
Apply sun scatter from lights with shadows in compatibility
2025-10-04 00:35:31 -07:00
Kaleb Reid
8ad335eae0
Divide screen texture by luminance multiplier in compatibility
2025-10-04 00:19:42 -07:00
Kaleb Reid
d616da4498
Fix warning spam in Compatibility when using depth texture
2025-10-03 16:13:54 -07:00
Thaddeus Crews
d9ba9ba3da
Merge pull request #97151 from devloglogan/motion-vectors
...
Implement motion vectors in compatibility renderer
2025-10-03 12:01:10 -05:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
4c3765d9ff
Merge pull request #108826 from BlueCube3310/bc1-rgb
...
Compatibility: Explicitly use BC1's RGB variant
2025-09-30 18:35:04 -05:00
Thaddeus Crews
c28b6c2ced
Merge pull request #109186 from clayjohn/reflection-probe-size-update
...
Prompt editor restart when reflection probe size is updated
2025-09-30 18:34:57 -05:00
BlueCube3310
d07a72e067
Compatibility: Explicitly use BC1's RGB variant
2025-09-30 20:17:22 +02:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
...
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
devloglogan
8fef9a689e
Implement motion vectors in compatibility renderer
2025-09-30 09:42:17 -05:00
clayjohn
aa8bc0b56d
Prompt editor restart when reflection probe size is updated
...
Also formally deprecate the RS function for updating an individual probes size. The functionality was removed in 4.0, but the function itself was mistakenly left exposed.
2025-09-29 18:35:34 -07:00
Thaddeus Crews
cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
...
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
Thaddeus Crews
3bf0f771ee
Merge pull request #110781 from Ivorforce/rasterizer-render-uv2-allocation
...
Use an array instead of `TightLocalVector` in `RasterizerSceneGLES3::_render_uv2`, to avoid allocation.
2025-09-22 13:28:53 -05:00
Thaddeus Crews
50ba0149e4
Merge pull request #110241 from Calinou/compatibility-shader-fix-depth-buffer
...
Fix shader compilation errors in Compatibility when using `depth_texture`
2025-09-22 13:28:43 -05:00
Lukas Tenbrink
bc7c05bfbd
Use an array instead of TightLocalVector in RasterizerSceneGLES3::_render_uv2, to avoid allocation.
2025-09-22 16:16:28 +02:00
Thaddeus Crews
191efe2e91
Merge pull request #109778 from BlueCube3310/gles3-astc-detect
...
Compatibility: Improve ASTC extension detecting
2025-09-19 13:07:15 -05:00
Thaddeus Crews
747722d639
Merge pull request #109299 from BlueCube3310/compat-cube-fix
...
Compatibility: Fix cubemap faces order when setting texture data
2025-09-19 09:17:07 -05:00