summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-03-18Add inverse projection matrix to fragment shader globalsnevarek
2022-03-18Rename several transform built-ins in shadersYuri Roubinsky
2022-03-18Merge pull request #59087 from clayjohn/sky-modeRémi Verschelde
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-17Merge pull request #58954 from Ansraer/alpha_scissorRémi Verschelde
[4.0] Fix alpha scissor support
2022-03-17Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enumHugo Locurcio
3 options are available: - Light and Sky (default) - Light Only (new) - Sky Only (equivalent to `use_in_sky_only = true`) Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17Another `-Wsign-compare` fixRémi Verschelde
Fixing CI while afk, fun.
2022-03-17Fix `-Wsign-compare` warning after #58993Rémi Verschelde
2022-03-17Merge pull request #58993 from notSanil/device-limit-exceeded-fixRémi Verschelde
2022-03-17Fix alpha scissor supportAnsraer
2022-03-16Fix device limit exceeding for uniform buffernotSanil
2022-03-16Split dummy renderer classes into separate filesBastiaan Olij
Split canvas_texture_storage and texture_storage from render_storage class
2022-03-16Merge pull request #49092 from BastiaanOlij/multiview_clusteredRémi Verschelde
Add multiview support to the clustered forward renderer
2022-03-15Merge pull request #45263 from KoBeWi/😕Rémi Verschelde
2022-03-14Fix D_GGX code which can cause divide-by-zero valsnowapril
When given roughness is lower than 0.01, d value in original code will be zero. This can make last return value as NAN because of divide-by-zero. This is well addressed in issue #56373. Modified code is referenced on D_GGX function of google/filament (https://github.com/google/filament/blob/main/shaders/src/brdf.fs#L54-L79) Signed-off-by: snowapril <sinjihng@gmail.com>
2022-03-13Merge pull request #58819 from vreon/fix-eyedir-zRémi Verschelde
Fix flipped EYEDIR.z in sky shaders
2022-03-09Change some math macros to constexprkobewi
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-08Sky renderer: Only flip Z when calculating panorama_coordsJesse Dubay
2022-03-08Merge pull request #49447 from Calinou/remove-shadow-color-propertyRémi Verschelde
Remove unused `shadow_color` property from Light3D
2022-03-07Merge pull request #58779 from techiepriyansh/forward-mobile-ambient-accumRémi Verschelde
2022-03-06Sky renderer: Don't invert Z component of light directionJesse Dubay
2022-03-06Add a UniformSet cachereduz
* Changed syntax usage for RD::Uniform to create faster with a single RID * Converted render pass setup to use this in clustered renderer to test. This is the first step into creating a proper uniform set cache system to simplify large parts of the codebase.
2022-03-05Fix flipped EYEDIR.z in sky shadersJesse Dubay
2022-03-05use the computed value ambient_accum for ambient_light in ↵Priyansh Rathi
scene_forward_mobile.glsl
2022-03-04Remove unused `shadow_color` property from Light3DHugo Locurcio
This shadow color property was no longer effective since the shaders were optimized to improve occupancy.
2022-03-04Merge pull request #58734 from Calinou/tweak-render-timestamp-namesRémi Verschelde
Tweak render timestamp names for explicitness and consistency
2022-03-04Merge pull request #58512 from Calinou/light3d-add-distance-fadeRémi Verschelde
2022-03-04Tweak render timestamp names for explicitness and consistencyHugo Locurcio
- Add 2D and 3D in timestamp names when needed to avoid ambiguity. - Use present tense in all render timestamp names. - Add a space after ">" (begin) and "<" (end) symbols. - Remove redundant "End" in render timestamp names (indicated by "<").
2022-03-03Add multiview/stereoscopic rendering support to the clustered forward rendererBastiaan Olij
2022-03-01Revert "Fix particle trail glitch"Rémi Verschelde
2022-02-28Merge pull request #58614 from Calinou/ssr-roughness-quality-enum-fix-typoRémi Verschelde
Fix typo in SSR roughness quality enum value names
2022-02-28Fix typo in SSR roughness quality enum value namesHugo Locurcio
2022-02-26Fix particle trail glitchfloppyhammer
2022-02-25Implement distance fade properties in OmniLight3D and SpotLight3DHugo Locurcio
This can be used to fade lights and their shadows in the distance, similar to Decal nodes. This can bring significant performance improvements, especially for lights with shadows enabled and when using higher-than-default shadow quality settings. While lights can be smoothly faded out over distance, shadows are currently "all or nothing" since per-light shadow color is no longer customizable in the Vulkan renderer. This may result in noticeable pop-in when leaving the shadow cutoff distance, but depending on the scene, it may not always be that noticeable.
2022-02-23Filament specular fix. Clamp dot product between normal and view vectors. ↵Darryl Ryan
Fixes #58459.
2022-02-23Implementing OpenXR driverBastiaan Olij
2022-02-22Use Filament specular models and parametrizationclayjohn
2022-02-22Fix GPUParticles2D emission offset in global coordsfloppyhammer
2022-02-22Merge pull request #58419 from clayjohn/Vulkan-anisotropy-crashRémi Verschelde
2022-02-21Fix shader compilation error with anisotropyclayjohn
2022-02-21Use properly use non-perceptual roughness when filtering radianceclayjohn
2022-02-18Merge pull request #58266 from clayjohn/revert-sky-changeRémi Verschelde
2022-02-18Merge pull request #58236 from bruvzg/win_min_fixRémi Verschelde
2022-02-17Revert "Fix default sky process mode not being Real-Time"clayjohn
This reverts commit aa1cba1d53270cd14339141082d9d5dc9c3857ef.
2022-02-17Merge pull request #58177 from clayjohn/VULKAN-prefiltered-radianceRémi Verschelde
2022-02-17[Windows] Fix Vulkan driver crash on sub-window minimization.bruvzg
2022-02-16Use prefiltered radianceclayjohn
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-16Properly exclude lights that are marked as sky onlyclayjohn
2022-02-16Fix default sky process mode not being Real-TimeHugo Locurcio
The change in 09563e4bd8fa4dda8802b3b48f111f3c1de499d8 wasn't consistently carried out everywhere needed.
2022-02-15Add Particle Shader Userdatareduz
* Adds optional vec4 USERDATA1 .. USERDATA6 to particles, allowing to store custom data. * This data is allocated on demand, so shaders that do not use it do not cost more.