4dbe0967d5
Fixed memory leaks
...
- PoolVector leak
- mesh_remove_surface leak
2017-06-16 02:39:16 +02:00
da14225ad8
fix bug related to unshaded materials not working on MSVC. Not cleanest solution, might think about how to improve later.
2017-06-15 10:36:00 -03:00
47b34bf79b
Remove error spam on Intel, closes #8665
2017-06-15 09:02:34 -03:00
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
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
2b62872547
Fix _draw_polygon colors and uvs
2017-06-14 18:43:57 -03:00
462d8ceb46
Fixed several bugs with directional light, and changed defaults to be more sensible.
2017-06-14 17:06:36 -03:00
a8a1f2e2a8
-Fixed occluder rendering, closes #8560
...
-Ability to smooth out 2D shadow filters
2017-06-13 01:23:04 -03:00
95c248e24f
Remove default shadow bias of 0.1 for spot and omni light, fixes #8654
2017-06-13 00:07:05 -03:00
ea6cb22329
Merge pull request #8835 from ippan/particles_shader_index
...
add index to particles glsl
2017-06-12 23:33:41 -03:00
fc04e0b1f2
Fix bug breaking shader when skeleton+tangents were used, closes #8673
2017-06-12 19:54:35 -03:00
831860695c
Fix empty shader related crash, closes #8314
2017-06-12 19:23:37 -03:00
41c3ca358e
Fixed _draw_polygon, should help fix other bugs..
2017-06-12 18:56:16 -03:00
61c82f4356
Restored everything related to information polling, and added information box for viewport.
2017-06-11 18:13:04 -03:00
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
4d90750729
Add missing initializer for RasterizerStorageGLES3::Shader::ubo_size
2017-06-09 21:17:47 +02:00
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
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
840ac8c018
Fog is complete!
2017-06-07 08:38:21 -03:00
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
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
5aa66d03d8
Added depth texture support (using parallax) to default material.
2017-06-04 20:35:45 -03:00
8126a0cb12
subsurface scattering is fixed and working again
2017-06-03 21:14:05 -03:00
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
8a1097a224
many fixes to image loader, voxel cone tracing, etc.
2017-06-02 22:08:41 -03:00
e79d7149ea
GI probes working back again
2017-06-01 22:38:07 -03:00
c03131fc9f
Rework shading modes and change location of light shader
2017-06-01 18:56:02 -03:00
bd26fa7bf2
stuff got modified :(
2017-05-31 20:29:56 -03:00
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03:00
f89641907f
-Added EXR supprot for HDR (no BC6 compression yet though)
...
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
bf6380ee70
Removed skybox support, added panorama support. Skybox support may come back eventually, but hope not.
2017-05-25 14:00:43 -03:00
3768a3b2c5
More fixes for iOS Godot 3.0
...
- nicely exit if initialisation fails
- fix a few issues around new event handling
- use 16bit single channel framebuffer as 32bit is not supported on iOS
2017-05-23 22:38:36 +10:00
c51ce72702
Added texture_get_texid
2017-05-20 10:09:36 +10:00
d9e3bbe17d
add index to particles glsl
2017-05-19 23:43:25 +08:00
f85cad4fec
Merge pull request #8793 from ippan/shader_varying
...
fix varying in 3.0 shader
2017-05-18 19:00:21 +02:00
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
9079ef46e7
fix varying in 3.0 shader
2017-05-17 16:41:49 +08:00
c3e43c6d5f
Revert "Particles potential crash fix"
2017-05-15 20:11:42 +02:00
9d7d24682d
Particles potential crash fix
2017-05-15 20:49:20 +03:00
a1c41be569
Fix local ip addresses (interfaces) detection.
...
Ignore non-IP addresses for both windows and unix
2017-05-08 22:27:06 +02:00
020f6a7f20
Socket helpers now fall back to ipv4 on systems where ipv6 is disabled.
2017-05-08 21:53:23 +02:00
5c6715a291
Fix UDP wait() not returning after first received packet
2017-05-05 17:41:11 +02:00
f527a69462
Merge pull request #8589 from tagcup/dxt1_fix
...
Use correct mode for DXT1 textures.
2017-05-02 23:31:42 +02:00
4dd291cecb
Merge pull request #8586 from vnen/uwp-3
...
Fix compilation for UWP
2017-05-01 22:48:01 +02:00
2f84731177
Use correct mode for DXT1 textures.
...
libsquish, which is used to generate all S3TC textures, works only with RGBA textures.
Fixes #8550 .
2017-04-29 20:01:12 -05:00
f7bd21a022
Fix compilation for UWP
2017-04-29 20:15:59 -03:00
d4029aa51a
Move other lone thirdparty files to thirdparty/misc
...
Also move Box2D ConvexDecomposition contrib code to
thirdparty/b2d_convexdecomp.
2017-04-28 21:19:25 +02:00
515f92d03b
Fix property warnings and hide some debug prints
...
"ALL IS GOOD" was a lie.
In particular, removes verbose "path not recognized" false positive.
The actual logic is to (somewhat naively) check all ResourceFormatLoaders
and to pick the first good match, so no need to warn about the formats
that do not match the type hint.
2017-04-23 11:17:32 +02:00