Juan Linietsky
f8bd488457
Merge pull request #9109 from RandomShaper/optimize-2d-lighting
...
Add AT_LIGHT_PASS builtin to canvas shaders
2017-06-14 21:16:09 -03:00
Pedro J. Estébanez
93ffd9023f
Add AT_LIGHT_PASS builtin to canvas shaders
...
This one allows for complex shaders paired with a simple lighting shader to skip code that would otherwise be pointlessly (and wastefully) run during the light pass.
Depending on your game (number of items and lights), this can yield some performance gain.
2017-06-15 02:03:15 +02:00
Rémi Verschelde
bccee07ae7
Merge pull request #9165 from Noshyaar/pr-area
...
Refactor layer_mask to collision_layer
2017-06-14 23:04:04 +02:00
Juan Linietsky
462d8ceb46
Fixed several bugs with directional light, and changed defaults to be more sensible.
2017-06-14 17:06:36 -03:00
Poommetee Ketson
6c44fff508
Refactor layer_mask to collision_layer
2017-06-14 10:58:34 +07:00
Juan Linietsky
a8a1f2e2a8
-Fixed occluder rendering, closes #8560
...
-Ability to smooth out 2D shadow filters
2017-06-13 01:23:04 -03:00
Marc Gilleron
af9fd6f44a
Fixed compilation on Windows + removed debug print
2017-06-12 01:58:57 +02:00
Juan Linietsky
61c82f4356
Restored everything related to information polling, and added information box for viewport.
2017-06-11 18:13:04 -03:00
Juan Linietsky
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
alexholly
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Juan Linietsky
5bf810b5db
-Added proper access to depth texture from shader
...
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
2017-06-07 18:20:04 -03:00
Juan Linietsky
840ac8c018
Fog is complete!
2017-06-07 08:38:21 -03:00
Juan Linietsky
0fb99306ff
-working SCREEN_TEXTURE, SCREEN_UV shader variables
...
-Added refraction support for default material
-Enabled BCS adjustments, as well as color correction.
2017-06-05 22:34:32 -03:00
Poommetee Ketson
5fd458e03a
Fix build error
2017-06-05 21:19:54 +07:00
Rémi Verschelde
f8d7670e82
Merge pull request #9038 from AlexHolly/rect2-rename-pos
...
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Juan Linietsky
5aa66d03d8
Added depth texture support (using parallax) to default material.
2017-06-04 20:35:45 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Juan Linietsky
c03131fc9f
Rework shading modes and change location of light shader
2017-06-01 18:56:02 -03:00
Juan Linietsky
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
suptoasty
e0befd2f23
Fixed a typo in a Visual Server var name ( #8977 )
2017-05-29 08:08:16 +02:00
Juan Linietsky
bf6380ee70
Removed skybox support, added panorama support. Skybox support may come back eventually, but hope not.
2017-05-25 14:00:43 -03:00
BastiaanOlij
c51ce72702
Added texture_get_texid
2017-05-20 10:09:36 +10:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Rémi Verschelde
c8aea60324
Improve documentation of thirdparty code snippets
2017-05-07 11:42:37 +02:00
Carter Anderson
212c6306a8
Fix get_shader_type index upper bound
2017-05-01 23:41:44 -07:00
Ignacio Etcheverry
231fa92201
AudioServer: Set singleton to NULL when destructed
2017-04-27 21:36:35 +02:00
Rémi Verschelde
5ae1e172da
Merge pull request #8277 from tagcup/math_checks
...
Added various functions basic math classes. Also enabled math checks …
2017-04-24 11:16:20 +02:00
Andreas Haas
246dfc65ca
Fix crash on exit.
...
First it crashed in the thread that checks for android devices, then in the audio driver.
2017-04-10 19:51:07 +02:00
Juan Linietsky
1c480698ce
-Fixed crash with splash screen on windows
...
-properly show editor without having to resize window on windows
2017-04-09 20:40:48 -03:00
Juan Linietsky
7ba71fb243
Restored (And auto-generated) splash image
2017-04-09 20:03:38 -03:00
Juan Linietsky
fccf2816d4
-Fix eternal black screen on Windows
...
-Disabled warnings on windows, need to properly set up warnings
2017-04-09 17:59:17 -03:00
Juan Linietsky
4286aef693
Particle system is complete. Rejoice!
2017-04-08 22:40:06 -03:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
Ferenc Arn
9a37ff1e34
Added various functions basic math classes. Also enabled math checks only for debug builds.
...
Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly.
Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions.
Various other changes mostly cosmetic in nature.
2017-04-06 13:03:56 -05:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Karroffel
6ab3213a55
fixed ClassDB inconsistencies
...
fixes #7960
2017-03-13 21:17:31 +01:00
Rémi Verschelde
a45e6f67d5
Merge pull request #7981 from RandomShaper/position-for-2d-shaders
...
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-13 11:01:14 +01:00
Pedro J. Estébanez
5ff0924a93
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-08 02:07:59 +01:00
Pedro J. Estébanez
32eb2cc61e
Complement KinematicBody2D fix
...
>> which was done at 5fc084c28e
2017-03-06 05:25:22 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
45438e9918
Style: prevent bogus macro formatting by clang-format
...
Also prevent formatting of thirdparty snippet
2017-03-05 16:29:53 +01:00
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Rémi Verschelde
a1cbe8e22b
Merge pull request #7878 from RebelliousX/else
...
Bunch of missing `else` statements and general logic
2017-02-28 23:03:10 +01:00
Saracen
5e938f0001
Inf and NaN support added to GDScript.
2017-02-28 21:52:33 +00:00
Thaer Razeq
f50488a361
Various fixes detected using PVS-Studio static analyzer.
...
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Rémi Verschelde
f13e87e257
Merge pull request #7802 from tagcup/physics_64bit
...
Use real_t as floating point type in physics code.
2017-02-26 20:10:54 +01:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Juan Linietsky
903a3aa5f0
a ton of bug fixes to the renderer
2017-02-16 08:55:43 -03:00