8e2a1ffd6e
Shader Language: Add in-for declared variables within for-block scope.
2017-12-17 01:43:59 +01:00
652c98a7be
Add epic hack so vsync can be toggled in run-time from script. Fixes #14458 .
...
Call needs to be routed via visual server to reach the proper thread.
2017-12-16 17:11:02 -03:00
e946fb8cb0
Made built-in identifiers properly constant in shaders. Fixes #14449 , closes #14629
2017-12-15 18:24:30 -03:00
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
c3c1d119ec
Fix #14429 GIProbe does not work with SpotLights
2017-12-09 20:57:28 +01:00
65fb961b8b
-Ability to and unwrap lightmap coordinates on import
...
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
ccef401700
Merge pull request #13341 from scayze/interp_v2
...
Added interpolation qualifiers to shaderlang
2017-12-09 18:12:14 +01:00
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
0bc573635c
Fixes to some thread safety situations to avoid GIProbe from freezing on save. Fixes #13338
2017-12-06 18:06:34 -03:00
431dfc1458
Attempt to see if this can solve the problem with #13338
2017-12-06 16:41:19 -03:00
d438ac0aed
-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)
...
-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
2017-12-04 15:56:17 -03:00
b0fb6b1380
Added interpolation modifiers to shaderlang
2017-11-27 16:47:46 +01:00
8dc89e787c
Merge pull request #13294 from RaXaR/master
...
Added overloads of vector parameters for shader Trig functions.
2017-11-27 00:58:14 +01:00
b932d8c37a
Added overloads of vector parameters for shader Trig functions.
...
Ammend: Removed whitespace from blank lines.
Ammend2: Removed extra spaces in an attempt to make Clang happy. :)
2017-11-27 01:18:45 +02:00
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
...
Onion skinning
2017-11-26 15:13:35 -03:00
b0e556d1a7
Merge pull request #13289 from sketchyfun/3d_selection_fix
...
Fixed issue with 3D selections
2017-11-26 14:55:56 +01:00
541df26184
Tweak the default camera node settings
...
- Increase FOV to 70
- Put the Z-near plane at 0.05 meters
2017-11-25 23:48:30 +01:00
dd5037ba82
Fixed issue with 3D selections losing precsion due to an offset bug
2017-11-25 20:14:54 +00:00
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
81c49fb536
Update clang-format in modified files
2017-11-25 02:18:28 +01:00
3aa79fc1a3
Add ability to opt-out buffer swapping in VS::draw()
2017-11-25 02:18:28 +01:00
0ca9181ee8
Rename two-parameter arc-tangent function to atan in shader language, as it is in GLSL.
...
Fixes #13214 .
2017-11-23 21:19:11 -05:00
640856f4d4
Merge pull request #11895 from m4nu3lf/rendering/separate_thread
...
Restore rendering on a separate thread
2017-11-21 14:31:14 -03:00
17b9accd0c
Implement per-instance custom bounding box
...
# Conflicts:
# servers/visual/visual_server_scene.h
2017-11-20 20:54:26 +01:00
98cb49283d
Ability to change indirect light energy.
2017-11-19 21:46:00 -03:00
871c47a2bb
Restore rendering on a separate thread
2017-11-18 18:35:25 +00:00
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
6277e6d40a
Ability to update parts of an array, and set arrays as dynamic draw
2017-11-14 17:26:35 -03:00
9d3f8418ca
Removed add/remove interface bindings and added get_interfaces
2017-11-13 22:08:43 +11:00
19b1ff0fc5
Disabled filter clip by default and made it optional, fixes #12368 , likely others too
2017-11-10 09:22:25 -03:00
192a4d7de5
Reworked how servers preallocate RIDs, should fix #10970
2017-11-09 23:35:34 -03:00
fd07a283e5
Merge pull request #12523 from RandomShaper/fix-margins-drawn-too-late
...
Fix viewport margins drawn after swapping buffers
2017-10-30 19:47:02 -03:00
793da07a4d
Fix viewport margins drawn after swapping buffers
2017-10-30 21:20:12 +01:00
83f5d7e40a
Refactor bufer to buffer
2017-10-28 19:15:51 +07:00
abea816e54
Revert "Rename Schlick GGX to GGX."
2017-10-23 07:42:36 +02:00
b4f0f59d9f
Many fixes to SSAO, should be good now.
2017-10-22 13:52:48 -03:00
cb0bf1edea
Rename Schlick GGX to GGX.
...
Schlick's approximation and GGX are orthogonal concepts.
Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it.
The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
2017-10-21 19:35:54 -04:00
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
d67e77e837
Fixed viewport transparent bg when clear mode is enabled.
2017-10-21 02:06:10 -05:00
7764640f22
Fix crash in shader parsing
...
...that would happen if incorrect syntax was found just after an opening square bracket.
Fixes #12046 .
2017-10-16 21:55:42 +02:00
4501a30ce9
Fix GIProbe light visibility
...
- Fix https://github.com/godotengine/godot/issues/10535
2017-10-04 19:13:07 +09:00
d4e20555e8
Ability to set a custom FOV makes it possible to use sky on orthogonal view. Closes #9186
2017-09-29 18:56:52 -03:00
4f39ce32b9
Fixes to light shaders, should work now..
2017-09-27 21:45:47 -03:00
d0c42da961
Discarding now works in shaders
...
"discard" has been added to the list of recognised keywords.
A flag specifing when discarding is allowed is now set correctly.
2017-09-24 01:37:53 -06:00
81c9cfdc1b
Added light affect parameter to baked AO
2017-09-23 23:10:34 -03:00
d3ea92257d
-Fixed redraw always on 3D viewprot bug
...
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23 17:28:28 -03:00
a6c3147c0a
Add inversesqrt to shader language.
2017-09-21 21:02:08 -04:00
bf371dcb32
Added proximity and distance fade to SpatialMaterial
2017-09-21 15:20:28 -03:00
e73e00d369
Style: Apply clang-format to @reduz's changes
...
[ci skip]
2017-09-13 09:13:34 +02:00
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00