Age | Commit message (Collapse) | Author |
|
Implement global and per instance shader uniforms.
|
|
Add light size to Sky Shaders
|
|
|
|
Adds two keywords to shader language for uniforms:
-'global'
-'instance'
This allows them to reference values outside the material.
|
|
|
|
|
|
|
|
Implement decals
|
|
Also implemented decal atlas, so projectors and other stuff can be added.
Sidenote: Had to make RID hashable, so some unrelated includes changed
in order to include it in hashfuncs.h
|
|
|
|
Add vogel filter and settings to soft shadows
|
|
|
|
|
|
Moved most of the effect code to compute.
|
|
Simplifies it and improves performance.
Improves image barrier handling per mipmap on RenderingDeviceVulkan
|
|
Fix SSS affecting Sky
|
|
|
|
|
|
|
|
- Made shadow bias size independent, so it will remain when changing light or camera size.
- Implemented normal offset bias, which greatly enhances quality.
- Added transmission to subsurface scattering
- Reimplemented shadow filter modes
Closes #17260
|
|
|
|
The size settings are more "just works", with default scale and depth scale
values that don't need much tweaking.
Additionally, a "skin" mode was added so skin looks better.
EDIT: Cleaned up SSR filter shader a bit.
|
|
Invert Sky subpass cubemap z direction
|
|
Re-Added screen space reflection.
|
|
|
|
|
|
Fix array out of bounds access caused by uninitialised variables
|
|
|
|
I have no idea why those don't get triggered in target=debug builds.
Fixes #37461.
|
|
|
|
|
|
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
|
|
|
|
VisualServer -> RenderingServer
PhysicsServer -> PhysicsServer3D
Physics2DServer -> PhysicsServer2D
NavigationServer -> NavigationServer3D
Navigation2DServer -> NavigationServer2D
Also renamed corresponding files.
|