Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70f4f32

Browse files
committed
fix(soba): use valid angular for caustics
1 parent 089da91 commit 70f4f32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/soba/misc/src/caustics/caustics.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ declare global {
118118
<ngt-mesh [renderOrder]="2" [ref]="planeRef" [rotation]="[-Math.PI / 2, 0, 0]">
119119
<ngt-plane-geometry />
120120
<ngt-caustics-projection-material
121-
*ngIf="causticsTargetFbo() as targetFbo && causticsTargetBFbo() as targetBFbo"
121+
*ngIf="causticsTargetFbo() && causticsTargetBFbo()"
122122
[transparent]="true"
123123
[color]="color()"
124-
[causticsTexture]="targetFbo.texture"
125-
[causticsTextureB]="targetBFbo.texture"
124+
[causticsTexture]="causticsTargetFbo()!.texture"
125+
[causticsTextureB]="causticsTargetBFbo()!.texture"
126126
[blending]="CustomBlending"
127127
[blendSrc]="OneFactor"
128128
[blendDst]="SrcAlphaFactor"

0 commit comments

Comments
 (0)