Environment sky more or less working.
This commit is contained in:
parent
f7aa7927e7
commit
2d6a916835
35 changed files with 1747 additions and 416 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue