summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
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-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.
2022-02-15Merge pull request #57905 from V-Sekai/fix_instance_clear_warningsRémi Verschelde
Free surface vertex_buffers after vertex_arrays to silence warnings
2022-02-15Merge pull request #57904 from V-Sekai/fix_double_free_warningRémi Verschelde
Fixes some 'Attempted to free invalid ID' warnings in mobile renderer
2022-02-12Merge pull request #57980 from akien-mga/vulkan-1.3.204Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-11RendererRD: Remove binding specifier for push constantsRémi Verschelde
This is unsupported and glslang made it raise an error in 11.7.0: https://github.com/KhronosGroup/glslang/pull/2810 Co-authored-by: Clay John <claynjohn@gmail.com>
2022-02-11Merge pull request #57888 from dusakus/depanoramize-spot-projectorRémi Verschelde
remove normal_to_panorama from spotlight projector
2022-02-10Fix 3D sky update performance regressionHugo Locurcio
2022-02-10Merge pull request #57535 from Calinou/visibility-range-fade-use-easingRémi Verschelde
2022-02-10Merge pull request #57104 from clayjohn/VULKAN-sky-conflictRémi Verschelde
2022-02-10Merge pull request #54677 from Calinou/voxelgi-default-low-qualityRémi Verschelde
2022-02-10Merge pull request #39965 from Calinou/tweak-sdfgi-defaultsRémi Verschelde
2022-02-10Merge pull request #57707 from Calinou/sdfgi-tweak-default-num-cascadesRémi Verschelde
2022-02-10Merge pull request #57628 from Calinou/shadow-atlas-default-enable-16-bitsRémi Verschelde