Age | Commit message (Collapse) | Author |
|
|
|
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).
|
|
|
|
Adds flag AMBIENT_LIGHT_DISABLED to GLES2
|
|
Signed-off-by: Guilherme Souza <gdsdsilva@inf.ufpel.edu.br>
|
|
Many contributors (me included) did not fully understand what CCFLAGS,
CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them
in the way they are intended to be.
As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html
- CCFLAGS: General options that are passed to the C and C++ compilers.
- CFLAGS: General options that are passed to the C compiler (C only;
not C++).
- CXXFLAGS: General options that are passed to the C++ compiler. By
default, this includes the value of $CCFLAGS, so that setting
$CCFLAGS affects both C and C++ compilation.
- CPPFLAGS: User-specified C preprocessor options. These will be
included in any command that uses the C preprocessor, including not
just compilation of C and C++ source files [...], but also [...]
Fortran [...] and [...] assembly language source file[s].
TL;DR: Compiler options go to CCFLAGS, unless they must be restricted
to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to
CPPFLAGS.
|
|
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
|
|
|
|
Fix jump over uninitialized value in OS Unix/X11
|
|
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).
|
|
Fix hint_range for GLES2 shader uniforms
|
|
|
|
Fix File switching between reading and writing, opened with READ_WRITE on Windows
|
|
|
|
|
|
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.
|
|
|
|
Fix default mix rate in Xaudio2 and potential shadowing issue in JAndroid.
|
|
Add Open Asset Importer to Godot.
|
|
|
|
Capitalise drive letters
|
|
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.
|
|
Added GLES2 RenderStorage Info calculations.
|
|
When transparent_bg is on, or the render target is too small,
Godot would skip postprocessing and disregard keep_3d_linear.
This fixes #26817.
|
|
To allows use read and write anytime and in any order
|
|
Fix -Wnon-virtual-dtor warnings.
|
|
And remove 2 warnings from warnings=extra.
|
|
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
|
|
Keep DEPTH from causing compile error in GLES2
|