summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2019-08-27Tweak the default fog depth end to use a fixed valueHugo Locurcio
The previous value (0) was a special case in the fog shader. It made the shader use the Camera's `far` value as the fog depth end value, which led to an inconsistency in the fog rendering between the editor and a running project. This is because the editor camera uses a `far` property of 500 by default, whereas the Camera node's `far` property is set to 100 by default. The new fixed value is equal to the default `far` property in Camera, which leads to a consistent appearance between the editor and a running project. This closes #31686.
2019-08-23Merge pull request #31593 from SaracenOne/project_theme_shutdown_fixRémi Verschelde
Fixes issue with project_default_theme not being cleaned up
2019-08-23Fixes issue with project_default_theme not being dereferenced on cleanup.Saracen
2019-08-22Added "editable" property to VisualShaderGroupNodeYuri Roubinski
2019-08-21Rename FileDialog's folder icon custom color to `folder_icon_modulate`Hugo Locurcio
The custom color introduced in be8d569744e4eed9acb313d355d96e6989e92087 had the same name as the "folder" icon, which could cause conflicts in the generated documentation. The new name is also more self-explanatory.
2019-08-20Fix preview for global expressions in visual shaders (#31505)Yuri Roubinsky
Fix preview for global expressions in visual shaders
2019-08-20Fix preview for global expressions in visual shadersYuri Roubinski
2019-08-20Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-20Use a different color for folder icons in file dialogsHugo Locurcio
This makes them easier to distinguish from files for quick visual grepping. This can also be used in projects by setting the FileDialog "folder" color. The default value (`Color(1, 1, 1)`) has no visual impact, for compatibility with existing projects.
2019-08-19Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn
Related to #22988 (Fixes the holes in the shape of the first comment)
2019-08-18Merge pull request #31453 from Chaosus/vs_code_previewRémi Verschelde
Added code preview to visual shader
2019-08-18Added code preview to visual shaderYuri Roubinski
2019-08-18Added global expressions to visual shadersYuri Roubinski
2019-08-17Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
2019-08-14Merge pull request #31263 from Chaosus/vs_pluginRémi Verschelde
Plugin support for visual shaders
2019-08-14Plugin support for visual shadersYuri Roubinski
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-08Merge pull request #30714 from Calinou/invert-default-fog-heightRémi Verschelde
Invert and adjust the default fog height values
2019-08-07Invert and adjust the default fog height valuesHugo Locurcio
This makes height fog appear at the bottom of the scene (instead of the top), which is generally the expected result. This also tweaks the fog height setting hint to be more flexible. This closes #30709.
2019-08-07Merge pull request #31050 from sparkart/fix_tileset_shape_offsetRémi Verschelde
Fix Wrong Shape Offsets in Tileset
2019-08-07Merge pull request #31077 from qarmin/coverity_bugsRémi Verschelde
Change some code proposed by Coverity and Cppcheck
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-07Allow comma prefix to visual shader's expression parserYuri Roubinski
2019-08-07Merge pull request #31161 from merumelu/default-theme-checkbuttonRémi Verschelde
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-06Default theme: make toggle_off_disabled.png the same dimension as other ↵merumelu
CheckButton images
2019-08-06Some improvements to Mix visual shader functionYuri Roubinski
2019-08-04Fix Wrong Shape Offsets in TilesetEmmanuel Barroga
Closes #30994 When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset). This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-08-01Fix outerProduct function in visual shadersChaosus
2019-07-25Merge pull request #30351 from bojidar-bg/30288-override-global-themeRémi Verschelde
Keep track of default theme and project custom default theme seperatelly
2019-07-24added pointMesh primitiveclayjohn
2019-07-23Merge pull request #30716 from qarmin/fixed_static_analiser_codeRémi Verschelde
Fix some code found by Coverity Scan and PVS Studio
2019-07-23Fix some code found by Coverity Scan and PVS Studioqarmin
2019-07-22Make `make_header.py` functional when run from any locationHugo Locurcio
This removes the need to `cd` to `scene/resources/default_theme/` to get the expected result.
2019-07-22Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"Rémi Verschelde
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-19i18n: Sync translation template with current sourceRémi Verschelde
Fix a few typos in new strings.
2019-07-19Merge pull request #30683 from bojidar-bg/30671-triplanar-binormalRémi Verschelde
Fix binormal sign when using triplanar mapping
2019-07-18Fix binormal sign when using triplanar mappingBojidar Marinov
Fixes #30671
2019-07-16Fix invalid write in AudioStreamSample::save_to_wavBojidar Marinov
Fixes #29955
2019-07-15Merge pull request #30590 from clayjohn/particle_lifeRémi Verschelde
Added individual particle random lifetime
2019-07-14added individual particle random lifetimeclayjohn
2019-07-15Merge pull request #30532 from Chaosus/vs_triplanarRémi Verschelde
Added triplanar uniform texture node to visual shaders
2019-07-12Merge pull request #30466 from Chaosus/vs_boolean_funcsRémi Verschelde
Added "Is" and "Compare" functions to visual shaders
2019-07-12Added "Is" and "Compare" functions to visual shadersChaosus
2019-07-12Added triplanar uniform texture node to visual shadersChaosus
2019-07-10Merge pull request #30455 from qarmin/const_referenceRémi Verschelde
Pass by reference to const
2019-07-10Use reference to constant in functionsqarmin
2019-07-08Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio
This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.