2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 19:07:44 +00:00

Fix INCA, closes issue #9

Camera stubs
This commit is contained in:
2016-01-17 14:41:49 -08:00
parent 2b01035064
commit adf31e36d1
7 changed files with 47 additions and 4 deletions

View File

@@ -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

View File

@@ -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"