Config init

This commit is contained in:
luboslenco 2018-11-08 20:56:03 +01:00
parent e6c1f2dccc
commit fb5cdcd636

View file

@ -34,6 +34,12 @@ class Inc {
public static function init(_path:RenderPath) {
path = _path;
#if arm_config
var config = armory.data.Config.raw;
for (l in iron.Scene.active.lights) l.data.raw.shadowmap_size = config.rp_shadowmap;
superSample = config.rp_supersample;
#end
}
public static function bindShadowMap() {