Juan Linietsky
06d7e36898
Changed bools to uint32_t as this may be a compiler bug..
2017-08-29 15:09:59 -03:00
Juan Linietsky
e8b05ca996
-Fixed screen edge SSAO filter, fixes #9678
...
-Raised the SSAO limits, making the effect a lot more useful
-Still pending to enable tresholding to avoid some hollow places
2017-08-29 11:46:02 -03:00
Juan Linietsky
089cf8176e
removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677
2017-08-29 10:15:49 -03:00
Rémi Verschelde
9a8a0e20e5
Merge pull request #10552 from RandomShaper/improve-posix
...
Improve Mac/UNIX conformance/reliability
2017-08-29 00:07:07 +02:00
Rémi Verschelde
ddbd133097
Merge pull request #10683 from marcelofg55/rtaudio_buffer_fix
...
Fix RtAudio driver buffer_size incorrect calculation
2017-08-28 23:03:04 +02:00
Rémi Verschelde
3ce6972d2c
Merge pull request #10692 from marcelofg55/wasapi_driver
...
Added new WASAPI driver for Windows
2017-08-28 22:53:53 +02:00
Rémi Verschelde
6ef7783abb
Merge pull request #10662 from hoelzl/python3-v3
...
Make build scripts Python 3 compatible
2017-08-28 00:05:15 +02:00
Juan Linietsky
d23f323cde
-Moved script run to editor, removed from project
...
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Matthias Hoelzl
b6e1e47e3a
Make build scripts Python3 compatible
...
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27 23:05:39 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Marcelo Fernandez
8e814774b1
Added new WASAPI driver for Windows
2017-08-27 15:26:15 -03:00
Marcelo Fernandez
7e6b015769
Fix RtAudio driver buffer_size incorrect calculation
2017-08-27 10:00:35 -03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Juan Linietsky
90445aae67
Fixed opaque unshaded materials, they go through the regular opaque render list, closes #9917
2017-08-25 09:56:10 -03:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Pedro J. Estébanez
d806ad4a3d
Implement custom thread numbering for POSIX
...
For every UNIX-derived (Android, Linux, macOS, iOS) flavor, a global counter is atomically incremented on thread start. That id is kept as thread-local storage.
Therefore, thread ids are sequential numbers, trivially comparable. This improves the previous state of things, in which `pthread_t` were casted to `Thread::ID` and unportabily compared. Also big, ugly thread ids appeared.
2017-08-24 07:02:55 +02:00
Pedro J. Estébanez
a560a62118
Make OS::delay_usec() more reliable on UNIX
...
Implemented with `nanosleep()`. `usleep()` is deprecated.
Also loops to ensure that __at least__ the requested time is waited, accounting for spurious interruptions.
May help in situations like reattempting to connect to the debugger.
2017-08-24 07:02:55 +02:00
Gilles Roudiere
591a892c2e
fix ssao issue with intel hd**** hardwares
2017-08-23 00:10:37 +02:00
Juan Linietsky
294e912a84
Fade last cascade in directional shadow, closes #9779
2017-08-22 12:17:20 -03:00
Juan Linietsky
e54c4028ef
Invalid materials or shaders will now interrupt the next chain in materials, closes #9570
2017-08-22 11:23:40 -03:00
Rémi Verschelde
411f0755a8
Fix Reindhart tonemapping, invalid type in signature
...
Fixes #10533 .
2017-08-22 08:06:54 +02:00
Juan Linietsky
00a26f512c
Several fixes to subsurface scattering. Closes #9530
2017-08-21 21:38:01 -03:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
e9c43cecbf
Merge pull request #10433 from djrm/pr_svg_support
...
SVG support
2017-08-21 23:49:07 +02:00
Juan Linietsky
247c2f7be3
Revert "Reworked change_dir to support symlinks"
2017-08-21 18:06:01 -03:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Juan Linietsky
0bdbe370bf
Implemented missing opaque prepass render mode, fixes #9452
2017-08-20 21:26:15 -03:00
Daniel J. Ramirez
da8fecf25e
Added support for SVG
2017-08-20 13:53:02 -05:00
Juan Linietsky
831e21e89b
Properly initialize color hinted vec4 uniforms to 0,0,0,1 fixes #9354
2017-08-20 12:35:43 -03:00
Juan Linietsky
7e5890d23d
-Fix all shadow and culling related issues, fixes #9330
2017-08-19 20:07:21 -03:00
Juan Linietsky
8fc6bb8f77
Added polygon antialiasing, but it does not work on nvidia. Will have to try something else..
2017-08-19 13:14:38 -03:00
Rémi Verschelde
1a92906b68
Merge pull request #10406 from marcelofg55/closest_power_of_2
...
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 08:12:56 +02:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Juan Linietsky
3a4ff3402d
Oops, fixed wrong color masking problem. Closes #10149
2017-08-17 18:33:59 -03:00
Rémi Verschelde
22d21ebef0
Merge pull request #8144 from supagu/symlink
...
Reworked change_dir to support symlinks
2017-08-17 11:50:21 +02:00
Bojidar Marinov
995fca44b2
Fix particles emitting when emitting is set to false in scene
...
Caused by #10297 calling particles_restart() on the same frame as the one set_emitting(false) is called. The rasterizer would wait a frame, and then set emitting back to true.
2017-08-16 23:38:36 +03:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
f2764dd15d
Merge pull request #10343 from Faless/html5_fixes_2
...
Use precision for samples only when #version 300 es
2017-08-16 17:09:57 +02:00
Fabio Alessandrelli
2d48f4ecf1
Use precision for samples only when #version 300 es
...
Fix #10332
2017-08-16 15:04:21 +02:00
Wilson E. Alvarez
21d281c4a9
Use const reference where favorable
2017-08-14 13:28:06 -04:00
Fabio Alessandrelli
9b9a723c77
Some fixes for shaders and WebGL2
...
Add padding to UBO data to be multiple of 16 bytes
Add precision definition for samplers
Replace texture2D (deprecated) with texture in shaders
2017-08-11 23:26:24 +02:00
Fabio Alessandrelli
f863c0ca14
Explicitily unsed AI_NUMERICHOST flag to fix HTML5
2017-08-11 19:39:36 +02:00
Juan Linietsky
df573f5c3a
-Restored Sprite3D to working function, fixes #2061 , fixes #9738
...
-Restored an alpha scissor property in Material
2017-08-08 17:23:44 -03:00
Juan Linietsky
144226af51
sorry, leftover bug fixed
2017-08-08 08:31:34 -03:00
Juan Linietsky
78177483b5
-Made visual server time affected by global time scale, closes #5583
...
-Restored time rollover in visual server
2017-08-08 08:25:35 -03:00
Juan Linietsky
539fbad919
Restored black bars and custom images instead of black bars, closes #1571
2017-08-07 18:09:13 -03:00
Thomas Herzog
5f48c3cc07
Merge pull request #10055 from henkz1/immediate
...
Fix ImmediateGeometry
2017-08-07 23:09:01 +02:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00