Parcourir la source

add msaa option

tags/2.11.0
Caven Chen il y a 3 ans
Parent
révision
4a2d41c960
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      modules/option/ViewerOption.js

+ 4
- 0
modules/option/ViewerOption.js Voir le fichier

@@ -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
}


Chargement…
Annuler
Enregistrer