Age | Commit message (Collapse) | Author |
|
Fix write outside array in mesh_add_surface
|
|
Added constant support to shaders
|
|
Small fixes to unrechable code, possibly overflows, using NULL pointers
|
|
Add missing license headers
|
|
Make `fix_headers.py` script compatible with Python 3.
|
|
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.
|
|
Use def ANDROID_ENABLED so android features are not included in web builds
|
|
|
|
builds
|
|
|
|
|
|
This makes exporting from Windows to Linux work again.
This closes #29416.
|
|
Co-authored-by: DavidSichma <sichmada@gmail.com>
|
|
Mute errors on surface->index_array_len == 0 in the GLES3 renderer
|
|
Separate culling state management from material state in GLES2
|
|
Improve SSAO performance and quality
|
|
Issue introduced in #28796.
|
|
|
|
|
|
Fix radiance map settings
|
|
Use highp precision in the gles2 fragment shader if available
|
|
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.
|
|
|
|
The use of different default precision values (highp in vertex; mediump
in fragment) for uniform variables caused the shader program to not link properly on some android
devices/emulators.
|
|
Fix "no depth test" and render_priority sorting
|
|
GLES2: Allow Viewports to render directly to screen
|
|
|
|
|
|
Implement shadow to opacity
|
|
add const to methods that return literals
|
|
|
|
|
|
|
|
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
|
|
Added radiance when using clear color
|
|
|
|
|
|
Fixes bug when setting projection matrix in shader GLES2
|
|
Added MSAA to GLES2 backend
|
|
Fix SHADOWS_DISABLED flag in GLES2
|
|
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.
|
|
Signed-off-by: Guilherme Souza <gdsdsilva@inf.ufpel.edu.br>
|
|
|
|
drivers/unix/net_socket_posix.cpp: In member function 'NetSocketPosix::NetError NetSocketPosix::_get_socket_error()':
drivers/unix/net_socket_posix.cpp:197:22: warning: logical 'or' of equal expressions [-Wlogical-op]
197 | if (errno == EAGAIN || errno == EWOULDBLOCK)
| ^
and:
modules/mono/utils/string_utils.cpp: In function 'int {anonymous}::sfind(const String&, int)':
modules/mono/utils/string_utils.cpp:68:48: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op]
found = src[read_pos] == 's' || (c >= '0' || c <= '4');
~~~~~~~~~^~~~~~~~~~~
|
|
Disable GI probe capturing lights with bake mode disabled
|
|
SCons: Always use env.Prepend for CPPPATH
|
|
|
|
Fixed GLES2 transparency order
|
|
Include paths are processed from left to right, so we use Prepend to
ensure that paths to bundled thirdparty files will have precedence over
system paths (e.g. `/usr/include` should have lowest priority).
|