You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Environment sky more or less working.
This commit is contained in:
@@ -225,7 +225,9 @@ EditorInspectorPluginMaterial::EditorInspectorPluginMaterial() {
|
||||
env.instance();
|
||||
Ref<ProceduralSky> proc_sky = memnew(ProceduralSky(true));
|
||||
env->set_sky(proc_sky);
|
||||
env->set_background(Environment::BG_COLOR_SKY);
|
||||
env->set_background(Environment::BG_COLOR);
|
||||
env->set_ambient_source(Environment::AMBIENT_SOURCE_SKY);
|
||||
env->set_reflection_source(Environment::REFLECTION_SOURCE_SKY);
|
||||
}
|
||||
|
||||
MaterialEditorPlugin::MaterialEditorPlugin(EditorNode *p_node) {
|
||||
|
||||
Reference in New Issue
Block a user