Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-08-18 17:40:04 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-08-18 18:08:23 +0300
commit036f43f3cde472867de87032297d74390aa2815e (patch)
tree034a8be0f6ea860aba04f48133d93893c6b8dd62 /source/blender/editors/space_node/node_edit.c
parente8f0ee157b290e41258bf704d63c00cb2d4d2a90 (diff)
Eevee: Convert metallic nodes into princinpled nodes
And wipe metallic out of the map.
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index b5d6104432f..fa3508ecfd1 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -400,7 +400,7 @@ void ED_node_shader_default(const bContext *C, ID *id)
if (BKE_scene_uses_blender_eevee(scene)) {
output_type = SH_NODE_OUTPUT_MATERIAL;
- shader_type = SH_NODE_EEVEE_METALLIC;
+ shader_type = SH_NODE_BSDF_PRINCIPLED;
}
else if (BKE_scene_use_new_shading_nodes(scene)) {
output_type = SH_NODE_OUTPUT_MATERIAL;