AndreaCatania
c7040f3218
Fixed sky reflection rendering when transparent BG
...
(cherry picked from commit c34f18acce
)
2018-02-21 23:40:59 +01:00
Bojidar Marinov
8dc946c89c
Fix a rendering bug with screen_texture
...
(cherry picked from commit ea57a19b34
)
2018-02-21 22:11:47 +01:00
karroffel
327fea741a
using TIME in light shader enables uses_fragment_time
...
The GLES3 shader compiler performs certain checks to enable or disable
the usage of certain uniform variables (and with that the set-up of UBOs).
If the `TIME` variable gets used inside the `vertex` function then the
renderer knows that it has to insert that value into the UBO.
The same applies to the `fragment` function.
The `light` function gets executed inside the fragment shader for every
light source that is relevant to the current pixel. If the `TIME` variable
gets used in that function then it needs to be present in the fragment-UBO.
The check for this was missing, so if a shader uses `TIME` inside `light`
but not inside `fragment` then the uniform will not actually be set up.
(cherry picked from commit bb655856e2
)
2018-02-21 22:10:28 +01:00
K. S. Ernest (iFire) Lee
70b082c0d9
Create and return LightmapCapture.
...
(cherry picked from commit 2e66730061
)
2018-02-21 21:49:16 +01:00
K. S. Ernest (iFire) Lee
bbfec2a7cc
Add dummy audio driver, fix dummy rasterizer
...
(cherry picked from commit 4e1923a931
)
2018-02-21 21:49:10 +01:00
Fabio Alessandrelli
8849377f6d
Fixes to OS_Server and DummyRasterizer to match new signatures
...
(cherry picked from commit 2de10aa467
)
2018-02-21 21:48:58 +01:00
Fabio Alessandrelli
fb4a784319
Add dummy Texture handling
...
(cherry picked from commit 72ef766dfa
)
2018-02-21 21:48:33 +01:00
Fabio Alessandrelli
8f231d82bb
Disable GLES builders and source from server compilation
...
(cherry picked from commit 8699f643c9
)
2018-02-21 21:48:21 +01:00
Fabio Alessandrelli
cc280545dc
Add dummy resterizer driver
...
(cherry picked from commit c0dce6e480
)
2018-02-21 21:47:38 +01:00
Marcelo Fernandez
c5388fb0cf
Fix for a possible compile error under OS X
...
(cherry picked from commit 621d28adef
)
2018-02-19 22:24:57 +01:00
Iskustvo
4bdcee2b9d
[X11] Improving error detection in move_to_trash
...
(cherry picked from commit 268d7c7c5b
)
2018-02-19 22:20:06 +01:00
Hugo Locurcio
79ef5f92a9
Remove a few debugging prints
...
(cherry picked from commit 84267915f5
)
2018-02-19 22:13:46 +01:00
Marcin Zawiejski
d4a70c6c08
fix buffer write performance on Windows and Unix
...
(cherry picked from commit 8315aa40cc
)
2018-02-19 22:13:45 +01:00
Marcelo Fernandez
906cf28dae
Improved WASAPI driver so that it always uses the default audio device
...
(cherry picked from commit d5afcf7ab1
)
2018-02-19 22:13:44 +01:00
Marlon Henry Schweigert
5481ece976
Display set_nodelay to GDScript
...
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
(cherry picked from commit 87adf9cfba
)
2018-02-04 20:02:04 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
binbitten
92473a9e9e
Convert special case RGB10_A2 to RGBA8 when obtaining texture data
2018-01-18 18:05:01 +01:00
Leon Krause
cbc194dde6
Fix copy shader in GLSL ES 3.0
2018-01-15 23:46:45 +01:00
Leon Krause
e4609acc5d
Fix Particles2D in WebGL 2.0
2018-01-15 20:39:17 +01:00
Rémi Verschelde
e1a0f2bd71
Merge pull request #15636 from mrcdk/fix_canvas_light
...
Set correct types on a couple variables inside light_compute in canvas.glsl
2018-01-13 01:42:52 +01:00
Rémi Verschelde
4fd4b0399a
Merge pull request #15633 from binbitten/fix-mat2-align
...
Fix mat2 alignment
2018-01-13 01:39:20 +01:00
binbitten
de8f43d95d
Fix mat2 alignment
2018-01-12 22:26:50 +01:00
MrCdK
408f4cb146
Set correct types on a couple variables inside the canvas.glsl
2018-01-12 22:02:28 +01:00
Juan Linietsky
e56b3439a5
Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339 .
2018-01-12 17:03:52 -03:00
Juan Linietsky
0041efec1d
Fix mat2 alignment
2018-01-12 12:45:16 -03:00
Juan Linietsky
f4d603b902
Fix uniform alignment, closes #14962
2018-01-12 12:43:26 -03:00
Juan Linietsky
3a05d974e0
Instance dependency for particles was not being get rid of. Again fixes #15591
2018-01-12 09:12:31 -03:00
Juan Linietsky
e3f02b1a1b
Properly fix blend equations for both transparent and non transparent framebuffers. Closes #15047
2018-01-11 19:39:47 -03:00
AndreaCatania
252344f706
Fixed graphic artifact caused by anisotropic filter
2018-01-11 12:55:18 +01:00
Rémi Verschelde
e49ddf2984
Merge pull request #15555 from BastiaanOlij/clamp_blends
...
Clamp blend to fix screen space reflections
2018-01-10 13:36:13 +01:00
Bastiaan Olij
ebc96195d8
Clamp blend to fix screen space reflections
2018-01-10 23:23:00 +11:00
Rémi Verschelde
f1ef2d5183
Merge pull request #15553 from AlmightyScientist/issue-15453
...
Shader Language: Fixes EXTRA_MATRIX undefined.
2018-01-10 12:46:52 +01:00
AlmightyScientist
4820910648
Shader Language: Fixes EXTRA_MATRIX undefined.
...
Fixes #15453 .
2018-01-10 12:37:28 +01:00
volzhs
b6cff1ba69
Fix stretch aspect keep mode
...
Fix #15407
Fix #15514
2018-01-10 10:49:26 +09:00
volzhs
1c806abdaa
Fix shader compile error on Android
...
**ERROR**: EffectBlurShaderGLES3: Fragment Program Compilation Failed:
23:191: S0001: Type mismatch, cannot convert from 'int' to 'float'
At: drivers/gles3/shader_gles3.cpp:168:_display_error_with_code() - EffectBlurShaderGLES3: Fragment Program Compilation Failed:
2018-01-09 16:44:56 +09:00
Jerome67000
87bbaddac3
removed unused project setting rendering/quality/depth_prepass/disable
2018-01-08 21:02:53 +01:00
sambler
384055c86f
Fix use of execvp, earlier fix was short sighted and only worked
...
when godot could be found in PATH.
The correct fix is to use sysctl to get the path to the current executable
this also fixes the ability to call external commands.
2018-01-08 12:07:28 +10:30
Juan Linietsky
4c23f94af9
properly blend interior and exterior ambient in reflection probes, fixes #14695
2018-01-06 19:34:03 -03:00
Juan Linietsky
bfeaf27a3e
Properly dispose of instance capture data, fixes #14795
2018-01-06 19:06:04 -03:00
Juan Linietsky
d72a32bc54
Use better initialization value for normalmap, fixes #14720
2018-01-06 18:09:11 -03:00
Juan Linietsky
9cf19f8dee
Ensure depth reads go via alpha render list, fixes #14759
2018-01-06 17:38:39 -03:00
Juan Linietsky
a195f81a6a
Improve detection of variable writing in shader, fixes #15177
2018-01-06 09:56:47 -03:00
Juan Linietsky
380ee87e80
Fixed problem with missing uninitialized last byte on waveform trip, closes #15316
2018-01-05 16:28:08 -03:00
Juan Linietsky
003f2dab78
Fix dual paraboloid shadow maps, closes #14487
2018-01-05 12:13:52 -03:00
Juan Linietsky
0c86c1ad15
Fixed GIProbe blending, closes #15164
2018-01-05 10:34:31 -03:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Juan Linietsky
6e2ed15ff1
Add support from properly exporting shared objects, needed for GDNative export
2018-01-04 15:43:06 -03:00
Emmanuel Leblond
e315c94900
Change OS::initialize signature to return Error (fix segfault on x11)
2018-01-04 15:15:55 +01:00
firefly2442
f066991aa7
found via cppcheck:
...
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
2018-01-03 21:23:48 -07:00
Rémi Verschelde
d65ac7378c
Fix crash in OS::execute on FreeBSD
...
As spotted by @robfram, closes #15288 .
Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-04 01:20:20 +01:00