Age | Commit message (Collapse) | Author |
|
Added constant support to shaders
|
|
Small fixes to unrechable code, possibly overflows, using NULL pointers
|
|
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|
|
|
|
|
Co-authored-by: DavidSichma <sichmada@gmail.com>
|
|
Mute errors on surface->index_array_len == 0 in the GLES3 renderer
|
|
Improve SSAO performance and quality
|
|
|
|
This decreases the number of samples significantly, leading to a
notable performance increase with only a very slight loss in
visual quality.
This also tweaks the default SSAO settings to use 3×3 blurring,
which makes noise patterns much less visible.
|
|
|
|
Fix "no depth test" and render_priority sorting
|
|
GLES2: Allow Viewports to render directly to screen
|
|
|
|
Implement shadow to opacity
|
|
|
|
|
|
|
|
Added radiance when using clear color
|
|
|
|
|
|
If a non-imported texture resource file (e.g. DDS) gets updated the editor
doesn't reload it. The cause of the problem is two-fold:
First, the code of ImageTexture assumes that textures are always imported
from an image, but that's not the case for e.g. DDS. This change thus adds
code to issue a resource reload in case an image reload is not possible
(which is the case for non-imported texture resources).
Second, the code is filled with bogus calls to Image::get_image_data_size()
to determine the mipmap offset when that should be done using
Image::get_image_mipmap_offset(). Previous code literally passed the integer
mip level value to Image::get_image_data_size() where that actually expects
a boolean. Thus this part of the change might actually solve some other
issues as well.
To be pedantic, the texture_get_data() funciton of the rasterizer drivers is
still quite a mess, as it only ever returns the whole mipchain when
GLES_OVER_GL is set (practically only on desktop builds) but this change does
not attempt to resolve that.
|
|
Disable GI probe capturing lights with bake mode disabled
|
|
The bake mode property of lights previously didn't affect GI probes.
This change makes the GI probe ignore lights that have their bake mode
set to disabled.
|
|
Small fixes, mostly duplicated code
|
|
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
|
|
Fixed bug in computing mip maps from screen texture
|
|
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
|
|
Respect keep_3d_linear when transparent_bg is on.
|
|
Remove ContextGL
|
|
Add option to have viewport render into supplied texture (VR)
|
|
Bug introduced in #26343 where `(float *)` was mistakenly converted
to `(uint8_t *)`, so we were getting `2` instead of `8`.
Fixes #27705.
|
|
|
|
|
|
FBX support and MMD (pmx) support.
Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX.
Maya FBX Stingray PBS support.
Importing FBX static meshes work.
Importing FBX animations is a work in progress.
Supports FBX 4 bone influence animations.
Supports FBX blend shapes.
MMDs do not have an associated animation import yet.
Sponsored by IMVU Inc.
|
|
When transparent_bg is on, or the render target is too small,
Godot would skip postprocessing and disregard keep_3d_linear.
This fixes #26817.
|
|
And remove 2 warnings from warnings=extra.
|
|
- Cleaned up and improved the code determining when we need to use a depth
prepass (previously it wasn't executed in certain cases even if it was
needed)
- Added code to prepare and bind the depth texture even when no depth prepass
or MRTs (more precisely effect buffers) are used
Fixes #25870, #25535, and #25387.
|
|
|
|
|
|
|
|
|
|
Fixed pixel snap precision artifact
|
|
|
|
Fixed TextureArray and Texture3D issues
|
|
|
|
|
|
- Texture arrays and 3D textures weren't working previously due to an
incorrect number of calls to glTexImage3D with incorrect level parameters.
This change fixes that.
- Fixed the incorrect calculation of the byte size of layered textures.
- Added the layer count to the debugger info when viewing video memory usage.
|