@tresjs/post-processing 2.3.0 → 2.3.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlendFunction, KernelSize, GodRaysEffect } from 'postprocessing';
|
|
2
|
-
import {
|
|
2
|
+
import { Points, Mesh } from 'three';
|
|
3
3
|
export interface GodRaysPmndrsProps {
|
|
4
4
|
/**
|
|
5
5
|
* The blend function of this effect.
|
|
@@ -8,7 +8,7 @@ export interface GodRaysPmndrsProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* The light source. Must not write depth and has to be flagged as transparent.
|
|
10
10
|
*/
|
|
11
|
-
lightSource?: Mesh | Points;
|
|
11
|
+
lightSource?: Mesh | Points | null;
|
|
12
12
|
/**
|
|
13
13
|
* The opacity of the God Rays.
|
|
14
14
|
*/
|