441fc1cba3
Baked UV2 emission using half float in the compatibility backend
...
The Lightmapper expects a half float image anyway, so this is both more efficient and correct
2025-01-17 16:46:31 -08:00
3014eec40d
Merge pull request #99407 from devloglogan/rec-resolution
...
Allow using custom `Rect2i` for rendering with OpenXR
2025-01-10 23:05:46 +01:00
e7f6b7ea0b
Allow using custom Rect2i for rendering with OpenXR
2025-01-09 09:46:15 -06:00
3936d117e4
Merge pull request #100388 from Namey5/gles3-canvas-clear-fix
...
Fix canvas background mode not clearing correctly in Compatibility renderer
2025-01-03 00:48:38 +01:00
2fcd8223e8
Merge pull request #99538 from Geometror/lightmap-gi-transparent-surface
...
Add transparency support for LightmapGI
2024-12-19 19:59:52 -06:00
830f25010f
fix: canvas background mode not clearing correctly when using gles3 glow effect
2024-12-20 12:41:08 +11:00
a3525bc015
Add transparency support for LightmapGI
...
Co-authored-by: Guerro323 <kaltobattle@gmail.com >
2024-12-18 19:36:16 +01:00
9ecdeb3723
Merge pull request #98747 from tetrapod00/standardize-renderer-strings
...
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
7c015a768f
Merge pull request #99958 from lander-vr/reflection-probe-blend-property
...
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -06:00
189c8eb671
Implement shadowmasks for LightmapGI
...
Co-authored-by: dearthdev <nathandearthdev@gmail.com >
2024-12-12 11:00:28 +01:00
9320865796
Avoid calculating dynamic lights when lights are baked into LightmapGI using the static bake mode
2024-12-06 10:17:44 -08:00
05010180ce
ReflectionProbe add Blend Distance
2024-12-05 23:29:47 +01:00
45a7bcc477
Fix gl_compatibility lightmap uniforms not being set
...
Fixes #99592
The following variables were set too early, and later code never ran..
prev_shader, prev_variant, prev_spec_constants variables
These variables were shared in two different branch conditions but were
updated inside the first one, so the second could never be true..
The condition to update lighting also should check prev_spec_constants
since it updates that uniform.
2024-11-23 16:43:07 -08:00
90b4b48b5a
Ensure shadow material and mesh are not used with wireframe mode
...
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 -08:00
899f5151c3
Standardize terms for renderers in error strings
...
Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
2024-11-10 13:30:44 -08:00
88d9903f6d
Merge pull request #86138 from EnlightenedOne/master
...
Fix Frustum Sky projection translation logic shearing
2024-11-04 21:52:07 -06:00
11b90086b7
Merge pull request #96705 from elmajime/camera_from_external_feed
...
Add support for external camera feed from external plugin on Android
2024-11-04 21:51:50 -06:00
1d141ab32a
Fix Frustum Sky projection translation logic, all pipelines, fixes 63863
2024-11-02 21:34:55 +00:00
6f846eb5c5
Added external camera feed from external plugin on Android
2024-10-30 18:30:28 +01:00
842f982397
Merge pull request #96819 from clayjohn/GLES3-instance-uniforms
...
Implement instance uniforms in Compatibility renderer
2024-10-07 13:41:47 -06:00
0a9ad8f9de
Implement vertex shading
...
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.
Co-authored-by: Clay John <claynjohn@gmail.com >
2024-09-29 00:36:09 +02:00
491a5d9450
Fix compatibility canvas background depth issue
2024-09-18 10:23:13 +10:00
9c4e3fbaaf
Merge pull request #97069 from patwork/fix-gles3-update-sky-cubemap
...
Fix for GLES3 radiance cubemap update
2024-09-17 09:18:01 +02:00
3038de4245
Fix for GLES3 radiance cubemap update
2024-09-16 11:32:36 +02:00
7ff106f828
Use distance to AABB surface to calculate Mesh LOD instead of using supports
2024-09-11 14:17:09 -07:00
29df589632
Implement instance uniforms in Compatibility renderer
2024-09-10 12:20:47 -07:00
44e526d3d5
Sky: No more auto-selecting REALTIME mode if radiance is not 256
2024-09-04 10:54:08 +02:00
8acd82f70e
Merge pull request #89919 from BlueCube3310/bicubic-lightmap
...
Implement bicubic sampling for lightmaps
2024-08-20 10:01:41 +02:00
ef9bb1a207
Implement support for bicubic lightmap filtering
...
Co-authored-by: Calinou <hugo.locurcio@hugo.pro >
2024-08-19 09:52:09 +02:00
578049b7b9
Add fixed fog to the sky in the Compatibility renderer
...
And apply luminance multiplier after fog in RD renderer
2024-08-17 23:33:26 -07:00
6621d8e8cc
Merge pull request #93931 from /fix-compatibility-depth_prepass_alpha
2024-07-20 16:07:30 +02:00
5b213dcd26
Use GL_COLOR_ATTACHMENT in depth prepass when using Multiview.
...
I am certain this is a driver bug. But on some devices when no draw buffer is specified, the depth operations fail when there is no color buffer.
2024-07-08 12:52:20 -07:00
af62d15ebc
fix depth_prepass_alpha not work in compatibility mode
2024-07-04 17:38:14 +08:00
0ab5207b8f
Fix incorrect enabling of post process in OpenGL
2024-06-24 13:22:01 +10:00
c58c50831b
Merge pull request #93107 from clayjohn/GLES-sky-ambient
...
Ensure sky reflection is updated when ambient mode is set to background
2024-06-14 17:13:35 +02:00
b758658405
Ensure sky reflection is updated when ambient mode is set to background
2024-06-12 16:00:01 -07:00
9000a9d36f
Ensure post processing happens when adjustments are enabled in the Compatibility renderer
2024-06-11 14:31:06 -07:00
53e68ecbd4
Fix depth clear value for uv2 baking in compatibility renderer
2024-06-07 23:25:49 +02:00
267ea14616
Fix LOD selection in compatibility backend and clean up LOD code
2024-05-23 11:30:22 -07:00
6efaaecde2
Skip rendering sky if viewport is set to transparent background
2024-05-13 11:04:06 +10:00
8eae822b54
Ensure that environment is available before checking for BCS
2024-05-02 11:34:48 -07:00
41a2b0e83e
Added premult alpha blending to 3D (spatial) shaders.
...
Co-authored-by: jitspoe <jitspoe@yahoo.com >
Co-authored-by: Clay John <claynjohn@gmail.com >
2024-05-01 00:53:29 +02:00
e8bb0a5719
Add adjustments and color correction to Compatibility renderer
2024-04-25 12:24:51 -07:00
1815871b90
Fixed unshaded mode lightmaps
2024-04-17 10:38:54 +01:00
509d8dba2a
Add reflection probe support to compatibility renderer using 2 probe approach.
2024-04-09 16:53:28 +10:00
d950f5f838
Use Reverse Z for the depth buffer
2024-04-04 13:54:15 +02:00
3b3e2374c9
clang-tidy: Enforce modernize-use-nullptr
2024-03-12 10:59:53 -05:00
26a220bd31
Make Overdraw, Lighting and Shadow Splits debug draw modes ignore decals
...
This also makes the Overdraw and Shadow Splits debug draw modes ignore fog.
The Lighting debug draw mode still displays fog as that debug draw mode
is intended to preview scene lighting, and fog has an impact on how
lighting is perceived.
2024-03-07 17:40:49 +01:00
b38d5efd6a
Merge pull request #88873 from clayjohn/GLES3-compositor-free
...
Add `compositor_free` branch in Compatibility scene renderer free function
2024-02-27 10:18:35 +01:00
57f8b885de
Add compositor_free branch in Compatibility scene renderer free function
2024-02-26 17:56:55 -08:00