summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
AgeCommit message (Collapse)Author
2022-06-24Moved cube_to_dp and cubemap logic into CopyEffectsBastiaan Olij
2022-06-23Merge pull request #61221 from BastiaanOlij/split_gi_effectsRémi Verschelde
2022-06-22Merge pull request #62286 from JFonS/taa_global_timeRémi Verschelde
2022-06-22Move TIME to a global shader variablejfons
This makes it work consistently for motion vectors in all functions, including user-defined ones.
2022-06-22Workaround MoltenVK shader conversion errorJFonS
2022-06-22Split GI effects and fix stereoscopic rendering of GI effectsBastiaan Olij
2022-06-18Merge pull request #62106 from BastiaanOlij/eye_offsetRémi Verschelde
Introduce eye_offset for correcting stereoscopic reflections
2022-06-17Introduce eye_offset for correcting stereoscopic reflectionsBastiaan Olij
Use view instead of vertex for reflections.
2022-06-15Fix glow in Mix mode not working correctly when FXAA is enabledHugo Locurcio
Glow must be performed after FXAA to ensure correct appearance.
2022-06-09Workaround MoltenVK error found in TAA implementationjfons
2022-06-07Initial TAA implementationjfons
Initial TAA support based on the implementation in Spartan Engine. Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-05-31Add and improve license attribution for SSAO and SSIL shader codeclayjohn
2022-05-25Add Cone and Cylinder shapes to FogVolumeHugo Locurcio
This complements the existing Ellipsoid and Box local fog shapes. This can be used to represent a light cone coming from a SpotLight.
2022-05-21Merge pull request #61214 from somnathsarkar/particle-attractor-fixRémi Verschelde
Fix GPUParticles3D disappearance at attractor origins
2022-05-20Fix GPUParticles3D disappearance at attractor originsSomnath Sarkar
2022-05-20Fix normal and tangent blending in blend shapesWindy Darian
2022-05-18Fix tonemapper shader to correctly apply alpha channelYuri Rubinsky
2022-05-16Fix custom irradiance bug in Vulkan mobile rendererclayjohn
2022-05-16Fix computation of screen_uvSomnath Sarkar
2022-05-11Split out bokeh_dof and copy effectsBastiaan Olij
2022-04-28Splitting tonemapper into its own classBastiaan Olij
2022-04-22Implement Label3D node.bruvzg
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
2022-04-11Use less blur for distant directional shadow splitsHugo Locurcio
This makes the transition between shadow splits less noticeable, specially when the expensive Blend Splits property is disabled.
2022-04-01Add color pass flags to Forward Clustered rendererjfons
This commit removes a lot of enum values related to the color render pass in favor of a new flag-bases approach. This means instead of hard-coding all the possible option combinations into enums, we can write our logic by checking a bit-mask. The changes in rendering_device_vulkan.cpp add support for unused attachments. That means RenderingDeviceVulkan::framebuffer_create() can take null RIDs in the attachments vector, which will result in VK_ATTACHMENT_UNUSED entries in the render pass. This is used in this same PR to establish fixed locations for the color pass attachments (only color and separate specular so far, but TAA will add motion vectors as well). This way the attachment locations in the shader can stay the same regardless of which attachments are actually used. Right now all the combinations of flags are generated, but we will need to add a way to limit the amount of combinations in the future.
2022-03-25Fix shader undefined variablenevarek
2022-03-18Add inverse projection matrix to fragment shader globalsnevarek
2022-03-18Rename several transform built-ins in shadersYuri Roubinsky
2022-03-16Merge pull request #49092 from BastiaanOlij/multiview_clusteredRémi Verschelde
Add multiview support to the clustered forward renderer
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-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-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-03Add multiview/stereoscopic rendering support to the clustered forward rendererBastiaan Olij
2022-03-01Revert "Fix particle trail glitch"Rémi Verschelde
2022-02-26Fix particle trail glitchfloppyhammer
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-21Fix shader compilation error with anisotropyclayjohn
2022-02-17Merge pull request #58177 from clayjohn/VULKAN-prefiltered-radianceRémi Verschelde
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-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-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-09remove normal_to_panorama from spotlight projectorBartłomiej Dusak
2022-02-07Merge pull request #57682 from clayjohn/VULKAN-canvas-blurRémi Verschelde