This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dc-sdk
mirror of
https://github.com/dvt3d/dc-sdk
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
92
Wiki
Activity
Browse Source
add msaa option
tags/2.11.0
Caven Chen
3 years ago
parent
65a6d166a4
commit
4a2d41c960
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
modules/option/ViewerOption.js
+ 4
- 0
modules/option/ViewerOption.js
View File
@@ -66,6 +66,10 @@ class ViewerOption {
scene.postProcessStages.fxaa.enabled = this._options.enableFxaa ?? false
if (scene.msaaSupported) {
scene.msaaSamples = +this._options.msaaSamples || 1
}
return this
}
Write
Preview
Loading…
Cancel
Save