34 lines
No EOL
1.6 KiB
JavaScript
34 lines
No EOL
1.6 KiB
JavaScript
|
|
function disablePrimaryTAA() {
|
|
Render.getConfig("RenderMainView.Antialiasing")["constrainColor"] = false;
|
|
Render.getConfig("RenderMainView.Antialiasing")["feedbackColor"] = false;
|
|
Render.getConfig("RenderMainView.Antialiasing")["blend"] = 1;
|
|
Render.getConfig("RenderMainView.Antialiasing")["sharpen"] = 0;
|
|
Render.getConfig("RenderMainView.JitterCam").none();
|
|
}
|
|
|
|
function enablePrimaryTAA() {
|
|
Render.getConfig("RenderMainView.Antialiasing")["constrainColor"] = true;
|
|
Render.getConfig("RenderMainView.Antialiasing")["feedbackColor"] = true;
|
|
Render.getConfig("RenderMainView.Antialiasing")["blend"] = 0.50;
|
|
Render.getConfig("RenderMainView.Antialiasing")["sharpen"] = 0.60;
|
|
Render.getConfig("RenderMainView.JitterCam").play();
|
|
}
|
|
|
|
function disableSecondaryTAA() {
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["constrainColor"] = false;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["feedbackColor"] = false;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["blend"] = 1;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["sharpen"] = 0;
|
|
Render.getConfig("SecondaryCameraJob.JitterCam").none();
|
|
}
|
|
function enableSecondaryTAA() {
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["constrainColor"] = true;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["feedbackColor"] = true;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["blend"] = 0.50;
|
|
Render.getConfig("SecondaryCameraJob.Antialiasing")["sharpen"] = 0.60;
|
|
Render.getConfig("SecondaryCameraJob.JitterCam").play();
|
|
}
|
|
|
|
enablePrimaryTAA(1)
|
|
enableSecondaryTAA(1) |