forked from LeenkxTeam/LNXSDK
t3du - CA Updates
This commit is contained in:
@ -544,13 +544,14 @@ class Inc {
|
|||||||
rt.unload();
|
rt.unload();
|
||||||
path.renderTargets.remove("shadowMap");
|
path.renderTargets.remove("shadowMap");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (l.data.raw.shadowmap_size != config.rp_shadowmap_cube) {
|
else if (l.data.raw.shadowmap_size != config.rp_shadowmap_cube) {
|
||||||
l.data.raw.shadowmap_size = config.rp_shadowmap_cube;
|
l.data.raw.shadowmap_size = config.rp_shadowmap_cube;
|
||||||
var rt = path.renderTargets.get("shadowMapCube");
|
var rt = path.renderTargets.get("shadowMapCube");
|
||||||
if (rt != null) {
|
if (rt != null) {
|
||||||
rt.unload();
|
rt.unload();
|
||||||
path.renderTargets.remove("shadowMapCube");
|
path.renderTargets.remove("shadowMapCube");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (superSample != config.rp_supersample) {
|
if (superSample != config.rp_supersample) {
|
||||||
|
Reference in New Issue
Block a user