Move in morph target texture links
This commit is contained in:
parent
263d5853a5
commit
f581e91ba9
|
@ -34,6 +34,14 @@ class Uniforms {
|
||||||
return armory.data.ConstData.ltcMagTex;
|
return armory.data.ConstData.ltcMagTex;
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
|
#if arm_morph_target
|
||||||
|
case "_morphDataPos": {
|
||||||
|
return cast(object, iron.object.MeshObject).morphTarget.morphDataPos;
|
||||||
|
}
|
||||||
|
case "_morphDataNor": {
|
||||||
|
return cast(object, iron.object.MeshObject).morphTarget.morphDataNor;
|
||||||
|
}
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
|
|
||||||
var target = iron.RenderPath.active.renderTargets.get(link.endsWith("_depth") ? link.substr(0, link.length - 6) : link);
|
var target = iron.RenderPath.active.renderTargets.get(link.endsWith("_depth") ? link.substr(0, link.length - 6) : link);
|
||||||
|
|
Loading…
Reference in New Issue