| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \ |
|
| |/
| |
| |
| | |
Implementation of Octahedral normal compression into Godot 4.0
|
|/
|
|
| |
now be constructed from an index buffer alone
|
|
|
|
|
|
|
| |
This can be used to make shadows translucent for a specific light.
The light distance fade system also uses this to smoothly fade the shadow
when the light fade transition distance is greater than 0.
|
|
|
|
|
|
| |
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
|
|
|
|
|
|
|
| |
This is consistent with the BaseMaterial3D filtering options.
It can be used for high-quality pixel art textures that remain sharp
when viewed at oblique angles, but prevents them from becoming grainy
thanks to mipmaps.
|
|\
| |
| | |
Remove impossible condition in RenderingServer::mesh_surface_make_offsets_from_format
|
| |
| |
| |
| |
| |
| |
| |
| | |
RenderingServer::mesh_surface_make_offsets_from_format
sizeof(float) cannot be less than 4, so the condition is impossible.
(Also remove extra blank lines in cases for consistency.)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
The `global_shader_uniform` name is longer, but it makes it much
easier to find the methods when searching in the class reference.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Mipmap LOD bias can be useful to improve the appearance of distant
textures without increasing anisotropic filtering (or in situations
where anisotropic filtering is not effective).
`fsr_mipmap_bias` was renamed to `texture_mipmap_bias` accordingly.
The property hint now allows for greater precision as well.
|
| |
| |
| |
| |
| | |
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient.
It can also be better debugged.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Moved preprocessor to Shader and ShaderInclude
* Clean up RenderingServer side
* Preprocessor is separate from parser now, but it emits tokens with include location hints.
* Improved ShaderEditor validation code
* Added include file code completion
* Added notification for all files affected by a broken include.
|
| |
| |
| |
| |
| | |
Improve GI renderer and add VRS support
Implement render device has_feature and move subgroup settings to limit_get
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.
Shadow atlas settings now contain the word "atlas" for easier searching.
Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
|
| |
| |
| |
| |
| | |
This allows for previewing the effects of the various 3D scaling
project settings without having to restart the editor.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
the construct of RenderingServerDefault on which it relies
|
| |
| |
| |
| |
| |
| | |
This complements the existing Ellipsoid and Box local fog shapes.
This can be used to represent a light cone coming from a SpotLight.
|
| |
| |
| |
| | |
This includes all three light types and IBL, but does not include shadows or any form of GI
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
With FSR 2.0 around the corner, we should avoid any ambiguity by
explicitly stating the version number.
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
This method can be used to get the graphics API version currently in
use (such as Vulkan). It can be used by projects for troubleshooting
or statistical purposes.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Compute SSAO at half resolution by default
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This provides a significant speedup for a small quality loss.
The quality loss is generally more noticeable during a project's
early stages of development (e.g. in level blockouts)
than it is in a finished project.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This shadow color property was no longer effective since the shaders
were optimized to improve occupancy.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|/ / / |
|
| | | |
|
| | | |
|
|\ \ \ |
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Soft shadows are relatively expensive to filter. However, with the
default blur factors, it's not needed to use too many samples
(unless PCSS-like shadows are used with a large size). Textures
and screen-space antialiasing can also be used to mask the noise
pattern effectively.
On a GeForce GTX 1080, going from Medium to Low for both shadow types
saves 0.2-0.4 ms of GPU time per frame in 2560×1440 resolution.
This can translate to significantly higher savings on lower-end GPUs.
Given how the shader works, this improves rendering performance
even if lights with shadows are never used.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On a GeForce GTX 1080 in 2002×1447 resolution, decreasing VoxelGI quality
from High to Low quality saves 1.2 ms of GPU time in a medium-sized
test scene. This only results in a minor drop in quality.
|