roavatar-renderer 1.6.6 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { EffectComposer } from 'postprocessing';
2
+ import { N8AOPostPass } from 'n8ao';
2
3
  import { OrbitControls } from 'three/examples/jsm/Addons.js';
3
4
  import * as THREE from 'three';
4
5
 
@@ -699,6 +700,7 @@ export declare class BackgroundRenderer {
699
700
  currentlyUpdating: boolean;
700
701
  hasNewUpdate: boolean;
701
702
  affectSceneAppearance: boolean;
703
+ affectSceneLighting: boolean;
702
704
  cameraAffectsTransparency: boolean;
703
705
  cameraAffectsRotation: boolean;
704
706
  lastFrameTime: number;
@@ -708,6 +710,7 @@ export declare class BackgroundRenderer {
708
710
  renderScene: RBXRendererScene;
709
711
  private _renderSceneCompiledConnection?;
710
712
  private _renderSceneFailedConnection?;
713
+ ambientLight: THREE.AmbientLight;
711
714
  hasFiredFullyRendered: boolean;
712
715
  /**Event is fired if a new outfit failed to load (specifically the Instance tree, not the rendering part)
713
716
  *
@@ -1611,9 +1614,9 @@ export declare const FLAGS: {
1611
1614
  RBF_PATCH_SHAPE_SAMPLES: number;
1612
1615
  /**forces vertex color to be white when false */
1613
1616
  USE_VERTEX_COLOR: boolean;
1614
- /**this is needed to enable bloom, but ugly since it disables anti aliasing... */
1617
+ /**this enables bloom and ssao */
1615
1618
  USE_POST_PROCESSING: boolean;
1616
- /**doubles render resolution when using post processing */
1619
+ /**doubles render resolution when using post processing, makes anti-aliasing artifacts less visible but can be performance heavy on high resolutions */
1617
1620
  POST_PROCESSING_IS_DOUBLE_SIZE: boolean;
1618
1621
  /**makes HumanoidDescription load gears */
1619
1622
  GEAR_ENABLED: boolean;
@@ -3471,6 +3474,8 @@ export declare class RBXRenderer {
3471
3474
  /**@deprecated This can only get the first renderScene's controls */
3472
3475
  static get controls(): OrbitControls<THREE.Camera> | undefined;
3473
3476
  static renderer?: THREE.WebGLRenderer;
3477
+ static usePostProcessing: boolean;
3478
+ static n8aoPass: N8AOPostPass | undefined;
3474
3479
  static resolution: [number, number];
3475
3480
  static backgroundColor: THREE.ColorRepresentation;
3476
3481
  /**@deprecated Use backgroundColor instead */