mirror of https://github.com/AxioDL/metaforce.git
Merge branch 'master' of https://github.com/AxioDL/PathShagged
This commit is contained in:
commit
b065f5846a
|
@ -167,9 +167,16 @@ void Material::SectionPASS::constructNode(HECL::BlenderConnection::PyOutStream&
|
||||||
switch (Subtype(subtype.toUint32()))
|
switch (Subtype(subtype.toUint32()))
|
||||||
{
|
{
|
||||||
case Subtype::DIFF:
|
case Subtype::DIFF:
|
||||||
|
{
|
||||||
out << "pnode.node_tree = bpy.data.node_groups['RetroPassDIFF']\n";
|
out << "pnode.node_tree = bpy.data.node_groups['RetroPassDIFF']\n";
|
||||||
|
if (txtrId)
|
||||||
|
{
|
||||||
|
out << "new_material.hecl_lightmap = texture.name\n"
|
||||||
|
<< "texture.image.use_fake_user = True\n";
|
||||||
|
}
|
||||||
linkRAS = true;
|
linkRAS = true;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case Subtype::RIML:
|
case Subtype::RIML:
|
||||||
out << "pnode.node_tree = bpy.data.node_groups['RetroPassRIML']\n";
|
out << "pnode.node_tree = bpy.data.node_groups['RetroPassRIML']\n";
|
||||||
if (idx == 0)
|
if (idx == 0)
|
||||||
|
|
Loading…
Reference in New Issue