Henrik Andersson
e0a19a77e5
Don't compare float to int
2017-09-04 22:21:55 +02:00
Juan Linietsky
281fb4e4fb
Added transmission shader parameter.
2017-09-03 10:30:37 -03:00
letheed
3a188015be
add shadow_filter variant PCF7
2017-09-01 15:01:24 +02:00
Rémi Verschelde
82208c1e8b
Merge pull request #10417 from bojidar-bg/x-fix-tilemap-transpose
...
Implement texture UV transpose in the gles3 renderer
2017-08-31 13:17:39 +02:00
Rémi Verschelde
f1e3dec442
Merge pull request #10624 from letheed/master
...
Fix shadow filter pcf5 implemented as pcf7
2017-08-31 11:01:57 +02: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
Bojidar Marinov
92a42668f2
Implement texture UV transpose in the gles3 renderer
...
Now tilemap rotations work again \o/
2017-08-29 14:51:35 +03: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
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
letheed
a5d765db4f
fix shadow filter pcf5 implemented as pcf7
2017-08-25 02:34:28 +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
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
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
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
2ea64d2dc1
Use vertex distance instead of z, fixes #9108
2017-08-06 21:57:40 -03:00
Juan Linietsky
b276d92c8a
Few small GI Probe fixes
2017-07-29 00:04:29 -03:00
Juan Linietsky
f5277e347d
Fixes to glow and auto exposure, closes #9797 , closes #9106
2017-07-26 00:40:32 -03:00
Juan Linietsky
772485cdb3
Several changes to better run in mobile.
2017-07-22 14:08:17 -03:00
Juan Linietsky
3da3a36034
Many fixes to improve GI Probe quality
2017-07-15 23:24:37 -03:00
Juan Linietsky
5dd7c3b6ab
Fix to make voxel cone tracing work properly again
2017-07-15 20:02:56 -03:00
Juan Linietsky
741145febd
-Fix for multiple reflection probes causing issues.
...
-Fix for positional sound corruption to avoid making people deaf.
2017-07-15 18:42:06 -03:00
Rémi Verschelde
d23fc16b2d
Merge pull request #9564 from Noshyaar/pr-threshold
...
Refactor 'treshold' to 'threshold'
2017-07-08 23:51:53 +02:00
Juan Linietsky
e577c5b070
Some adjustments to toon material to make it more flexible
...
Ability to also disable specular
2017-07-08 14:01:56 -03:00
Juan Linietsky
f4c8c552f9
Added triplanar mapping, toon mode, and more specular modes for materials. Added multipass support for materials.
2017-07-08 12:36:15 -03:00
Poommetee Ketson
2fd204c35e
Refactor 'treshold' to 'threshold'
2017-07-08 22:24:56 +07:00
Juan Linietsky
84de71872f
-Added triplanar mapping modes
...
-Some fixes to shader lang
2017-07-08 08:07:49 -03:00
Juan Linietsky
1a857c5149
Fixed bug regarding to strange black shapes appearing in ice from material tester demo
2017-07-05 22:36:13 -03:00
Juan Linietsky
12a8fedfe6
Some changes to dual paraboloid envmap generation, fixes somme bleeding
2017-07-05 19:39:45 -03:00
Juan Linietsky
7263137dba
Implemented environment arrays for skybox reflection and roughness, quality increase is enormous.
2017-07-04 23:53:08 -03:00
Robert Hernandez
ffe8f8ca21
Fixed NinePatches not working on HTML5
2017-06-28 19:17:59 -04:00
Juan Linietsky
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Juan Linietsky
0cac32910a
-Restored support for Canvas BG mode on Environment
...
-Improved ease of use of WorldEnvironment (no longer extends Spatial)
-2D editor viewport can now work in HDR!
2017-06-24 08:58:27 -03:00
Juan Linietsky
8ef1c41a4e
Small fixes required to get platformer to work.
...
Added back CanvasItemMaterial
2017-06-23 14:31:59 -03:00
Juan Linietsky
f27d2a3355
-Moved NinePatch to shader, saves a ton of draw calls rendering UI
...
-Implemented missing stretch modes, now tile and tile fit work
2017-06-21 23:37:25 -03:00
Juan Linietsky
95560e02c5
2D GPU Particles working..
2017-06-21 16:26:26 -03:00
Juan Linietsky
0288be1e76
Texture rect_region drawing now clamps UV to avoid bleeding. This avoids scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
2017-06-18 22:55:02 -03:00
Juan Linietsky
5c6cac4e53
Add normalmap support for drawing in all low level primitives. Only added support in Sprite so far.
2017-06-17 23:27:42 -03:00
Juan Linietsky
2da3f48e5a
-Fixed shader lang to not be able to get scalar from matrix (ie mat.x), to make it more GLSL compatible
...
-Fixed referencing of world_transform in fragment shader not working
-Fixed unsycn bug related to getting shader param list from the server
-Fixed getting all textures from shader properly, fixes #8353
2017-06-17 11:03:48 -03:00
Juan Linietsky
80929d36be
TIME constant reverted to a single float, fixes #9123
2017-06-16 08:30:21 -03:00
Juan Linietsky
5d02b948a9
Cleaned up Screen Space Reflections, closes #8119
2017-06-16 08:30:21 -03:00
Juan Linietsky
29cfc365aa
Fixes to SSR, WIP.
2017-06-16 08:30:21 -03:00
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
Juan Linietsky
462d8ceb46
Fixed several bugs with directional light, and changed defaults to be more sensible.
2017-06-14 17:06:36 -03:00