Marcelo Fernandez
985b84689f
Support for uneven amount of channels on PulseAudio
...
(cherry picked from commit 00693f4ad0
)
2018-03-28 23:05:23 +02:00
Nicolas Silva
89e4125241
Use GL_LINE_STRIP instead of GL_LINES when drawing polylines.
...
(cherry picked from commit 20cab06f9a
)
2018-03-28 23:01:09 +02:00
Poommetee Ketson
55a66efa38
Fix get_drive (bookmarks) in linux not working
...
(cherry picked from commit 7e5b10b7d3
)
2018-03-28 22:13:39 +02:00
Poommetee Ketson
c730a6ce44
Fix error spam when using PanoramaSky without texture
...
(cherry picked from commit 7a1b7ddf6c
)
2018-02-27 11:34:03 +01:00
bruvzg
48ed52184d
Add missing return statements (iOS and server).
...
(cherry picked from commit e3c2778d7e
)
2018-02-27 00:06:01 +01:00
Hein-Pieter van Braam
d69d58deea
Fix Windows file case changing
...
Windows APIs don't really provide a way to change a filename case. This
implements a little juggling to make this work. We first create a
guaranteed unique temporary file, we then replace the original file with
the temporary file and we finally rename it to the desired filename
case.
2018-02-24 17:37:07 +01:00
Artem Varaksa
eacd66e784
Clean up some bad words from code comments
...
(cherry picked from commit d35e486228
)
2018-02-22 12:22:41 +01:00
luz.paz
751806b5c7
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
(cherry picked from commit 612ab4bbc6
)
2018-02-22 12:17:06 +01:00
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