summaryrefslogtreecommitdiff
path: root/scene/resources/environment.cpp
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-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-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-05-26Improve SSAO performance and qualityHugo Locurcio
This decreases the number of samples significantly, leading to a notable performance increase with only a very slight loss in visual quality. This also tweaks the default SSAO settings to use 3×3 blurring, which makes noise patterns much less visible.
2019-02-12Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde
Fix many asan and ubsan reported issues
2019-02-06Hide new sky properties if we don't have sky as a backgroundBastiaan Olij
2019-01-30Fix many asan and ubsan reported issuesHein-Pieter van Braam
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
2019-01-14Hide worldenvironment settings not relevant in GLES2. Fixes #23281Juan Linietsky
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-11-28Fix style issues and signature mismatchRémi Verschelde
2018-11-28Added luminance capping to avoid glitches on small dots. closes #17996Juan Linietsky
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-10-02Merge pull request #21436 from CptPotato/tonemap-fixesRémi Verschelde
tonemapping fixes
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-27fix reinhard tonemapper, modified filmic tonemapper, added internal exposure ↵alex-poe
bias
2018-07-02Added ability for SSAO to affect AO textures tooJuan Linietsky
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-03found via cppcheck:firefly2442
remove code that will never run make definition and declaration names for parameters match change floats that were being set to bool values remove pointer that is never used
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-12Set ambient contribution by default to 1, fixes #11850Juan Linietsky
2017-10-23Missing binds for SSAOBlur enum caused issues compiling GDNative cpp_bindingsBastiaan Olij
2017-10-22Many fixes to SSAO, should be good now.Juan Linietsky
2017-09-29Ability to set a custom FOV makes it possible to use sky on orthogonal view. ↵Juan Linietsky
Closes #9186
2017-09-07Ability to use a sky for reflection together with a background color.Juan Linietsky
2017-08-29-Fixed screen edge SSAO filter, fixes #9678Juan Linietsky
-Raised the SSAO limits, making the effect a lot more useful -Still pending to enable tresholding to avoid some hollow places
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-14Fix console warning: Condition !env is trueM.H. Alkotob
The trivial yet astute fix was suggested by @bojidar-bg in IRC. Compiling confirms it does the job, so thought I'd push a PR.
2017-08-11Merge pull request #10194 from Keetz/update-default-valuesRémi Verschelde
Updated default values in SpatialMaterial and Environment
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-09Updated default values in SpatialMaterial and EnvironmentRasmus Ketelsen
2017-07-26Fixes to glow and auto exposure, closes #9797, closes #9106Juan Linietsky
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(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-08Refactor 'treshold' to 'threshold'Poommetee Ketson
2017-07-04Implemented environment arrays for skybox reflection and roughness, quality ↵Juan Linietsky
increase is enormous.
2017-06-24Environment: remove ssr_accel property, fix typoPoommetee Ketson
2017-06-16Cleaned up Screen Space Reflections, closes #8119Juan Linietsky
2017-06-16Fixes to SSR, WIP.Juan Linietsky
2017-06-07Fog is complete!Juan Linietsky
2017-05-30Several fixes related to PBR and EnvironmentJuan Linietsky
2017-05-25Removed skybox support, added panorama support. Skybox support may come back ↵Juan Linietsky
eventually, but hope not.
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56