Juan Linietsky
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
Juan Linietsky
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
Juan Linietsky
0243803117
Properly take into consideration that VERTEX must be written to in opaque pre pass, does some speed up to scenes using triplanar.
2017-12-01 08:45:36 -03:00
Eric Wiltfang
57845b53f3
Fix particle preprocessing. Fixes #12460 .
...
Remove an incorrect check likely left over from copying from the
normal fixed_fps update case.
Also makes sure that the preprocessing_time is always fully simulated,
rather overshooting the mark than stopping early.
2017-11-25 15:41:14 +01:00
Juan Linietsky
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
Juan Linietsky
98cb49283d
Ability to change indirect light energy.
2017-11-19 21:46:00 -03:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Juan Linietsky
6277e6d40a
Ability to update parts of an array, and set arrays as dynamic draw
2017-11-14 17:26:35 -03:00
Juan Linietsky
efe9a6ff5a
Fixed unnecesary structure copying in bugfix.
2017-10-20 16:13:48 -03:00
Hiroshi Ogawa
e7a370e170
Fix depth draw alpha prepass for shadow
2017-10-19 14:28:44 +09:00
Juan Linietsky
b12455cde8
Avoid failed viewport when size is too smal, fixes #9891
2017-10-03 17:36:14 -03:00
Juan Linietsky
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
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Juan Linietsky
eedb39091a
Several fixes to directional shadows, closes #10926
...
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07 18:00:47 -03:00
Juan Linietsky
2802dced84
Automatically redraw when shaders using TIME are visible, fixes #10554
2017-09-05 00:30:39 -03:00
Juan Linietsky
8f30c52a37
Removed ontop property, added a material rendering priority system. Fixes #9935 , closes #10135
2017-09-01 13:01:08 -03:00
Juan Linietsky
51066fcde7
Merge pull request #10305 from H4kor/gles3
...
Fixes a bug in multimesh_instance_get_color
2017-08-31 08:44:22 -03:00
Juan Linietsky
a1d7c496b9
Improved default directional shadow params, added bias split scale, closes #9828
2017-08-30 08:08:44 -03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02: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
00a26f512c
Several fixes to subsurface scattering. Closes #9530
2017-08-21 21:38:01 -03: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
3a4ff3402d
Oops, fixed wrong color masking problem. Closes #10149
2017-08-17 18:33:59 -03: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
Niko Abeler
5d2b059d46
fixed multimesh_instance_get_color
2017-08-12 16:17:53 +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
bruvzg
839cb018b2
Re-revert #378b1e6 for s3tc
2017-08-07 14:59:14 +03:00
bruvzg
20c90186be
Revert #378b1e6 for s3tc
2017-08-07 12:35:54 +03:00
Juan Linietsky
378b1e6cf0
RGTC and S3TC are now always enabled on desktop, given the spect dictates they should be. Fixes #9267 , Fixes #9939
2017-08-06 22:22:42 -03:00
bruvzg
1a03cd537f
Add missing max. number of samples (MSAA) check
2017-07-27 17:56:43 +03:00
Poommetee Ketson
0154098531
Fix various property not found errors
2017-07-26 20:03:13 +07:00
Juan Linietsky
f5277e347d
Fixes to glow and auto exposure, closes #9797 , closes #9106
2017-07-26 00:40:32 -03:00
Juan Linietsky
e15a0c5243
Merge pull request #9712 from BastiaanOlij/fix_checking_framebuffer
...
add missing framebuffer check
2017-07-24 18:37:14 -03:00
Juan Linietsky
772485cdb3
Several changes to better run in mobile.
2017-07-22 14:08:17 -03:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
BastiaanOlij
8513bbdb8b
add missing framebuffer check
2017-07-20 00:04:19 +10:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Juan Linietsky
3da3a36034
Many fixes to improve GI Probe quality
2017-07-15 23:24:37 -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
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
Juan Linietsky
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Juan Linietsky
83ae9a5e28
Ability to restart particle system with a function call
2017-06-25 08:01:50 -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
95560e02c5
2D GPU Particles working..
2017-06-21 16:26:26 -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
9757fc354c
Fix transparent background rendering, closes #8703
...
Properly implemented UPDATE_WHEN_VISIBLE mode for viewports
2017-06-17 08:59:43 -03:00
Juan Linietsky
e11fae0bbf
Particles properly update the shadow maps, closes #8815
2017-06-17 07:32:49 -03:00
Juan Linietsky
b19225bfce
-Fix freezes caused by etccomp2, closes #9183
...
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
Juan Linietsky
80929d36be
TIME constant reverted to a single float, fixes #9123
2017-06-16 08:30:21 -03:00
Marc Gilleron
4dbe0967d5
Fixed memory leaks
...
- PoolVector leak
- mesh_remove_surface leak
2017-06-16 02:39:16 +02:00
Juan Linietsky
47b34bf79b
Remove error spam on Intel, closes #8665
2017-06-15 09:02:34 -03: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
Juan Linietsky
a8a1f2e2a8
-Fixed occluder rendering, closes #8560
...
-Ability to smooth out 2D shadow filters
2017-06-13 01:23:04 -03:00
Juan Linietsky
831860695c
Fix empty shader related crash, closes #8314
2017-06-12 19:23:37 -03: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
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
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
8126a0cb12
subsurface scattering is fixed and working again
2017-06-03 21:14:05 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Juan Linietsky
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
Juan Linietsky
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03:00
Juan Linietsky
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
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
Andreas Haas
c3e43c6d5f
Revert "Particles potential crash fix"
2017-05-15 20:11:42 +02:00
honix
9d7d24682d
Particles potential crash fix
2017-05-15 20:49:20 +03:00
Ferenc Arn
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
Rémi Verschelde
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
L. Krause
3e0f8bb254
Fix FBO depth texture format
2017-04-15 13:56:55 +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
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
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
Juan Linietsky
efaeebab4d
Several fixes to Android exporter and port.
...
Android seems to be working again!
2017-03-23 20:14:12 -03:00
eska
12dd86bba0
Some WebGL 2 and build fixes/clean-up
2017-03-17 15:56:48 +01:00
Juan Linietsky
af020160c6
more html5 fixes
2017-03-14 10:53:46 -03:00
Juan Linietsky
6d15e15732
converted skeletons from uniform to texture
2017-03-12 13:08:56 -03: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
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Juan Linietsky
ffcd954211
Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not work though
2017-02-22 19:14:21 -03: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
Juan Linietsky
07bbcf91f7
basic contact shadows implementation, will most likely need some polishing
2017-02-08 07:35:14 -03:00
Juan Linietsky
6bfaa0f12c
shadows were not working in-editor for nvidia, fixed now
2017-02-06 20:18:35 -03:00
Juan Linietsky
5cc63dee0f
ability to adjust propagation in gi probe
2017-02-06 05:12:15 -03:00
Juan Linietsky
6f2e16306a
Several bugfixes, improving the import workflow
2017-02-06 00:38:39 -03:00
Rémi Verschelde
40e4c1f6ab
Merge pull request #7689 from eska014/webgl2
...
Enable WebGL2 in web export, start fixing build
2017-02-02 08:18:42 +01:00
eska
e06edc67c0
Enable WebGL2 in web export, start fixing build
...
Will not yet compile
2017-02-01 10:21:04 +01:00
Ferenc Arn
6f4f9aa6de
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
BastiaanOlij
3a02df7739
Working on compile issues for iOS
2017-01-16 23:14:13 +11:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Juan Linietsky
35b404ba08
Unify naming of blendshape / morphtarget into just "Blend Shape"
2017-01-12 08:34:00 -03:00
Juan Linietsky
bc26f90581
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
c2a217c350
WIP particle system
...
Ability to enable and change MSAA settings
Ability to change VCT quality
Ability to enable/disable HDR rendering
2017-01-01 22:16:52 -03:00
Juan Linietsky
a62c99c4e4
Some fixes and clean ups
2016-12-31 10:53:29 -03:00
reduz
f4a56e7782
begin work on new particle system
2016-12-30 08:35:54 -03:00
reduz
289bc881aa
now it really works on window for real
2016-12-25 08:05:23 -03:00
reduz
0d4abf2aa3
fixed a horrible bug on Windows AMD, scenes saved until now in this branch
...
are no longer valid :(
2016-12-24 16:23:30 -03:00
Juan Linietsky
3adb42e217
Fixed many more bugs reported by Valgrind
2016-12-23 08:47:16 -03:00
Juan Linietsky
4e729f38e0
baking now shows a proper button, and bakes can be saved.
2016-12-23 00:37:38 -03:00
Juan Linietsky
f9603d8236
can bake for omni and spotlight
...
store normal when baking
2016-12-22 10:00:15 -03:00
Juan Linietsky
37f558cd7b
Some BRDF fixes
2016-12-21 14:22:17 -03:00
reduz
72b844c349
Godot works on Windows again..
2016-12-21 02:29:58 -03:00
Juan Linietsky
075fde7f26
work in progress global illumination
2016-12-20 00:21:07 -03:00
Juan Linietsky
18ebd22000
Multi stage glow with light bleeding from HDR
2016-12-08 09:48:38 -03:00
Juan Linietsky
8534ced22d
Tonemapping and Auto Exposure support
2016-12-07 17:49:52 -03:00
Juan Linietsky
a299c3ebf1
Support for SSAO
2016-12-04 12:45:30 -03:00
Juan Linietsky
27a46d78ec
Subsurface scattering material param is now working!
2016-12-02 22:23:16 -03:00
Juan Linietsky
a47c78aed1
Screen space reflection effect
2016-11-29 19:55:12 -03:00
Juan Linietsky
3f40701002
fixed bug removing dependencies
2016-11-24 23:30:54 -03:00
Juan Linietsky
a732708b9d
Blend shapes using transform feedback (GPU)
2016-11-24 20:46:55 -03:00
Juan Linietsky
7cf8d75cf8
WIP immediates and proper buffers swapping
2016-11-23 07:04:55 -03:00
Juan Linietsky
9d635f0629
Migrated from GLES to GLAD, fixes many issues.
2016-11-22 20:51:56 -03:00
Juan Linietsky
943d27f46d
Instancing is working! (hooray)
2016-11-22 01:26:56 -03:00
Juan Linietsky
70d095d8f2
Skeletons are working now.
2016-11-21 19:03:39 -03:00
Juan Linietsky
a2505542ff
Huge amount of improvement in the material system. Materials should be
...
a lot more complete and usable now.
2016-11-20 22:49:53 -03:00
Juan Linietsky
c39d2b3f42
working reflection probes!!
2016-11-19 13:23:37 -03:00
Juan Linietsky
a7078a4be9
Done with lights and shadows (wonder if i'm missing something..)
2016-11-11 12:27:52 -03:00
Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
Juan Linietsky
acfa606915
resolved reflection cubemap blending
2016-10-29 22:11:05 -03:00
Juan Linietsky
d6567010bf
-Many many fixes
...
-Gizmos work again
2016-10-29 20:48:09 -03:00
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03:00
Juan Linietsky
cb34b70df1
More scene work, can display a skybox
2016-10-21 07:27:13 -03:00
Juan Linietsky
4428115916
Everything returning to normal in 3D, still a long way to go
...
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-19 11:14:41 -03:00
Juan Linietsky
1527cf8c0d
2D Shaders are working again using the new syntax, though all is buggy in general
2016-10-10 18:31:01 -03:00
Juan Linietsky
cf5778e51a
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
...
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Juan Linietsky
a6e9dc6153
make editor update by tracking changes in visualserverraster
2016-10-03 23:46:24 -03:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00