Commit graph

3692 commits

Author SHA1 Message Date
Lubos Lenco 3b72fff76d
Merge pull request #2196 from N8n5h/light-fix-2
Small improvements for the Shadow Map Atlas Blender UI
2021-05-16 12:29:31 +02:00
N8n5h 1945439cd1 Small improvements for the Shadow Map Atlas Blender UI
* Made shadow map atlas sizes enum's values dynamic:
This allows reducing issues related to picking a "wrong" size for the atlases.
* Added a legend below shadow map sizes to have an idea of how much lights can an option fit.
* Separated listing of subdivisions to include point lights.
* Disable cubemap size if single map is enabled to show that cascade size option is only used.
2021-05-14 11:22:11 -03:00
Lubos Lenco 98eeccd71d
Merge pull request #2082 from armory3d/blender2.9
Blender 2.9 LTS support
2021-05-10 11:14:39 +02:00
Lubos Lenco d31303391f
Merge pull request #2185 from MoritzBrueckner/fix-linked-objects-export
Fix double-export of linked objects (#2175)
2021-05-09 15:50:57 +02:00
Moritz Brückner 590afcc573 Fix double-export of linked objects (#2175) 2021-05-08 23:09:45 +02:00
Lubos Lenco 30b2093b94 Move game theme to armory.ui 2021-05-07 17:02:31 +02:00
Lubos Lenco 2f1fe4ef0b Move Canvas and game ui to armory.ui package 2021-05-07 15:24:03 +02:00
Lubos Lenco 57093c34cd
Merge pull request #2184 from MoritzBrueckner/debug-console-panel
[Blender 2.9] Slightly improve debug console panel UI
2021-05-07 10:29:09 +02:00
Moritz Brückner 2c761b2ff6 Slightly improve debug console panel UI 2021-05-06 21:29:59 +02:00
Lubos Lenco 4db37ea1c1
Merge pull request #2177 from QuantumCoderQC/get-object-node-fix
Get object by name node fix
2021-05-02 11:16:12 +02:00
QuantumCoderQC df372e9523 Spelling correction 2021-05-02 01:37:00 +02:00
QuantumCoderQC 5b6875947c New logic node to spawn objects not in current active scene 2021-05-02 01:33:38 +02:00
QuantumCoderQC badc8853b4 Make description more accurate 2021-05-02 01:31:44 +02:00
QuantumCoderQC 1ebe528417 Remove scene port from logic node 2021-05-02 01:30:34 +02:00
QuantumCoderQC c185882db8 Revert commit that creates an object if not in scene.
Returns object only if present in active scene
2021-05-01 22:19:29 +02:00
Lubos Lenco 0085f6fbd7 Bump version 2021-05-01 11:30:23 +02:00
Lubos Lenco 04909603ec
Merge pull request #2176 from MoritzBrueckner/2.9-version-info
Update Blender version information to 2.93 LTS
2021-05-01 11:15:54 +02:00
Moritz Brückner 22a557162f Update Blender version information to 2.93 LTS 2021-05-01 00:04:25 +02:00
Lubos Lenco ad9c7bfa6b
Merge pull request #2170 from N8n5h/debug-console-atlas
Fix artifact with point light soft shadow in shadow map atlas
2021-04-29 09:01:21 +02:00
Lubos Lenco 6d52238db3
Merge pull request #2174 from N8n5h/light-fix-2
Make tileSizes and TileSizesFactor non-static
2021-04-29 09:00:38 +02:00
N8n5h 939649f492 Make tileSizes and TileSizesFactor non-static
This solves an oversight that basically made all atlases share the
their tileSizesFactor, a variable used to quickly lookup tile tile sizes
depending on the shadowMapScale. So if cascade size was higher than cube
map size, then point light atlases would use incorrect values and break.
2021-04-28 19:12:45 -03:00
N8n5h ddc3da7799 Fix artifact with point light soft shadow in sm atlas 2021-04-26 16:45:20 -03:00
Lubos Lenco a4e9ad945b
Merge pull request #2168 from N8n5h/debug-console-atlas
Add profiling of shadow map atlas logic to debug console
2021-04-25 09:35:52 +02:00
N8n5h 41c6924231 Separate shadow map atlas logic and rendering time 2021-04-24 21:48:24 -03:00
N8n5h 9247b09c88 Add profiling of shadow map atlas logic 2021-04-24 20:31:03 -03:00
Lubos Lenco bb5ff191b7
Merge pull request #2163 from MoritzBrueckner/fix-attribute-node
Fix export of attribute node if no UV map exists
2021-04-20 09:36:37 +02:00
Lubos Lenco df50ba397e
Merge pull request #2162 from MoritzBrueckner/fix-overlay-mats
Fix creation of overlay materials
2021-04-20 09:35:38 +02:00
Moritz Brückner 97b578d0ed Fix export of attribute node if no UV map exists 2021-04-19 22:21:23 +02:00
Moritz Brückner 8a364259db Fix creation of overlay materials 2021-04-19 21:42:09 +02:00
Lubos Lenco 6d4952624a
Merge pull request #2161 from N8n5h/light-fix
Remove redundant 0 check when computing tile offset
2021-04-18 16:58:59 +02:00
Lubos Lenco 1955edf01c
Merge pull request #2160 from N8n5h/debug-console-atlas
Add visual representation of shadow map atlases to the debug console
2021-04-18 16:58:10 +02:00
N8n5h eb01b4652a remove redundant 0 check when computing tile offset 2021-04-18 10:32:36 -03:00
N8n5h c21d17d04e Add visual representation of shadow map atlases to the debug console
This is done to make it easier to understand what is going on with
atlases to help users and also the maintenance of the feature.

Max atlas size and max tile size where moved to the graph to make it
more understandable.
2021-04-18 10:25:27 -03:00
Lubos Lenco 069a9288ea
Merge pull request #2159 from N8n5h/debug-console-atlas
Fix compile error with debug and shadow map atlas LOD
2021-04-16 17:59:11 +02:00
N8n5h da41d1fb17 Fix compile error with debug and shadow map atlas LOD 2021-04-16 11:43:19 -03:00
Lubos Lenco 00af258b14
Merge pull request #2157 from N8n5h/debug-console-atlas
Add shadow map atlases info to the debug console
2021-04-14 11:14:18 +02:00
N8n5h c01b079cf1 Add custom highlighting for debug console
And use it to highlight "not enough lights" with a different color to
bring attention to it.
2021-04-14 01:06:14 -03:00
N8n5h e1cfa2f1da Add shadow map atlases info to the debug console
Display information like tile size, current size, max size, free tiles,
etc. to help debug atlases.
2021-04-14 00:32:54 -03:00
Lubos Lenco 6fbee167ab
Merge pull request #2155 from MoritzBrueckner/fcurve-datapath-warnings
Improve warning message for unsupported/unknown fcurve data paths
2021-04-10 08:32:02 +02:00
Moritz Brückner 78e266f77b Improve warning message for unsupported/unknown fcurve data paths 2021-04-09 20:55:17 +02:00
Lubos Lenco 1df882cad1
Merge pull request #2154 from MoritzBrueckner/fix-system-name-node
Fix GetSystemName node
2021-04-08 19:02:45 +02:00
Moritz Brückner cf56c4f1d8 Fix GetSystemName node 2021-04-08 15:44:18 +02:00
Lubos Lenco a3ca487183
Merge pull request #2152 from N8n5h/light-fix
Fix detection of removed lights by shadow map atlas
2021-04-07 20:47:10 +02:00
N8n5h 63716eea17 Modifications around addLight from Inc
* Removed redundant checks at the start of the function.
* changed the return value to void because the "return false" were
redundant, and simply made it so the lightInAtlas is set at the end of
the function.
* Removed unused variable
2021-04-07 12:44:54 -03:00
N8n5h 614385ea7b Setup callbacks so tiles are notified when a light is removed
A secondary callback is setup so the tile it's also removed from the
activeTiles, because it's freed in a "non standard" way.
2021-04-07 12:44:54 -03:00
Lubos Lenco 69207a6289
Merge pull request #2151 from N8n5h/coll-mask
Expose collision filter mask as integer to the UI
2021-04-04 10:49:13 +02:00
N8n5h 766e26a7df Expose collision filter mask as integer to the UI 2021-04-03 20:49:33 -03:00
Lubos Lenco 316eafd286
Merge pull request #2150 from MoritzBrueckner/blender2.9
[Blender 2.9] Resolve merge conflicts
2021-04-03 14:21:41 +02:00
Moritz Brückner f64419dd06 Merge branch 'master' into blender2.9
# Conflicts:
#	blender/arm/material/shader.py
#	blender/arm/props_collision_filter_mask.py
#	blender/arm/props_ui.py
2021-04-03 14:12:54 +02:00
Lubos Lenco c9182cc152
Merge pull request #2149 from MoritzBrueckner/2.9-NishitaSky
[Blender 2.9] Nishita sky model & (ir)radiance support for all world shaders
2021-04-03 10:07:25 +02:00