mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:07:44 +00:00
@@ -673,6 +673,7 @@ def make_pass_inca():
|
||||
new_grp.links.new(grp_in.outputs[0], add1.inputs[1])
|
||||
new_grp.links.new(grp_in.outputs[2], add1.inputs[2])
|
||||
new_grp.links.new(add1.outputs[0], grp_out.inputs[0])
|
||||
new_grp.links.new(grp_in.outputs[1], grp_out.inputs[1])
|
||||
grp_out.inputs[1].default_value = 1.0
|
||||
|
||||
# Reflection Map
|
||||
|
||||
@@ -63,6 +63,9 @@ void MaterialSet::ConstructMaterial(Stream& out,
|
||||
material.header.flags.shadowOccluderMesh() ? "True" : "False");
|
||||
|
||||
|
||||
/* TODO: Some models enable both of these flags at once, why?
|
||||
* And how do we handle this properly?
|
||||
*/
|
||||
/* Blend factors */
|
||||
if (material.header.flags.additiveBlending())
|
||||
out << "new_material.game_settings.alpha_blend = 'ADD'\n"
|
||||
|
||||
Reference in New Issue
Block a user