summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2020-05-08Turn the anisotropic filtering setting into an enumHugo Locurcio
Since it only accepts power-of-two values, exposing it as an enum makes more sense. This also allows for adding property hints to indicate the performance cost of each value. This also improves property hints for MSAA and FXAA.
2020-05-07Merge pull request #38226 from Calinou/increase-camera3d-fovRémi Verschelde
Increase the default Camera3D field of view to 75
2020-05-01Calculate sun diameter even when not using shadowsclayjohn
2020-05-01Increase the default Camera3D field of view to 75Hugo Locurcio
A vertical FOV of 75 degrees is roughly equivalent to a 91 degree horizontal FOV on a 4:3 display (~107.51 degrees on 16:9), which is close to the typical default FOV used in PC games. Note that this doesn't apply to the in-editor camera which keeps its FOV to 70. This is because it doesn't display in fullscreen; its viewport only displays in the center of the editor (roughly). This means the viewport won't cover the viewer's eyes as much. Therefore, the editor camera FOV should be slightly lower to account for this. Since this changes the default value, this may break existing projects slightly. For the record, this was already done in https://github.com/godotengine/godot-demo-projects/pull/260 for the official demo projects.
2020-04-30Merge pull request #38337 from RandomShaper/time_rollbackRémi Verschelde
Improve shader time roll over
2020-04-30Improve shader time roll overPedro J. Estébanez
- Resurrect it for GL ES 2 - Add it to the Vulkan rasterizer - Expose the setting from the `RenderingServer`, since it does not belong in any specific rasterizer
2020-04-29Fixed unbounded dual-paraboloid shadow map culling.Kiri Jolly
Dual paraboloid shadowmaps were ending up with infinitely large volumes of area behind the hemisphere un-culled. This change just adds a back plane to the convex shape used for the culling volume.
2020-04-29Merge pull request #20371 from aaronfranke/vector-lerpRémi Verschelde
[Core] [Mono] [GDNative] Rename "linear_interpolate" methods to "lerp"
2020-04-29Merge pull request #38302 from qarmin/format_setRémi Verschelde
RasterizerStorageRD: Don't override format value
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29Merge pull request #37795 from Chaosus/shader_fix_const_order2Rémi Verschelde
Fix shader constant sorting
2020-04-28Don't override format valueqarmin
2020-04-28Fix copy paste array index bugqarmin
2020-04-23Fix "redefinition of 'ssr' with a different type" shader compile error.bruvzg
2020-04-22Fix missing DEFVAL for RenderingDevice.index_buffer_createIgnacio Etcheverry
2020-04-21Add proper type to most public API uses of ArrayJuan Linietsky
2020-04-20Exposed RenderingDevice to script APIJuan Linietsky
Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
2020-04-18Ability to create local RenderingDevice instances.Juan Linietsky
2020-04-17Merge pull request #37949 from reduz/implement-global-shader-uniformsRémi Verschelde
Implement global and per instance shader uniforms.
2020-04-17Merge pull request #37953 from clayjohn/VULKAN-sky-sun-sizeRémi Verschelde
Add light size to Sky Shaders
2020-04-17Add light size to Sky Shadersclayjohn
2020-04-17Implement global and per instance shader uniforms.Juan Linietsky
Adds two keywords to shader language for uniforms: -'global' -'instance' This allows them to reference values outside the material.
2020-04-16Use sky properly for ambient and reflectionsclayjohn
2020-04-15Fix texture check in decal setupclayjohn
2020-04-14Add support for projectors in spot and omni lights.Juan Linietsky
2020-04-14Merge pull request #37861 from reduz/implement-decalsRémi Verschelde
Implement decals
2020-04-14Implement decalsJuan Linietsky
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
2020-04-13Fixes leak with CopyToFbShaderRDqarmin
2020-04-13Merge pull request #37749 from clayjohn/Vulkan-improved-ssRémi Verschelde
Add vogel filter and settings to soft shadows
2020-04-12Implement MSAAJuan Linietsky
2020-04-12Add screen space AA option, with FXAA implementation.Juan Linietsky
2020-04-11Merge pull request #37808 from reduz/port-effects-to-computeJuan Linietsky
Moved most of the effect code to compute.
2020-04-11Moved most of the effect code to compute.Juan Linietsky
Simplifies it and improves performance. Improves image barrier handling per mipmap on RenderingDeviceVulkan
2020-04-11Merge pull request #37794 from clayjohn/VULKAN-SSS-skyRémi Verschelde
Fix SSS affecting Sky
2020-04-11Fix shader constant sortingYuri Roubinsky
2020-04-11Fix SSS affecting Skyclayjohn
2020-04-10Add proper quality settings to soft shadowsclayjohn
2020-04-10Shows proper scene render time in editor infoJuan Linietsky
Also fixed GPU profiler, which was not working on nvidia hardware.
2020-04-10Merge pull request #37662 from qarmin/rasterizer_server_lastRémi Verschelde
Free items before finishing rendering server
2020-04-10Merge pull request #37722 from reduz/implement-softshadowsRémi Verschelde
Support light size and soft shadows
2020-04-09Support light size and soft shadowsJuan Linietsky
2020-04-09Renaming all ARVR nodes to XRBastiaan Olij
2020-04-08Refactored shadowmapping.Juan Linietsky
- 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
2020-04-07Free items before finishing rendering serverqarmin
2020-04-04Fixed leak with SpecularMergeShaderRDqarmin
2020-04-04Re-implement subsurface scattering.Juan Linietsky
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.
2020-04-03Merge pull request #37438 from clayjohn/VULKAN-sky-invertRémi Verschelde
Invert Sky subpass cubemap z direction
2020-04-02Merge pull request #37512 from reduz/implement-ssrRémi Verschelde
Re-Added screen space reflection.
2020-04-02Re-Added screen space reflection.Juan Linietsky
2020-04-02Replace NULL with nullptrlupoDharkael