We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089da91 commit 70f4f32Copy full SHA for 70f4f32
libs/soba/misc/src/caustics/caustics.ts
@@ -118,11 +118,11 @@ declare global {
118
<ngt-mesh [renderOrder]="2" [ref]="planeRef" [rotation]="[-Math.PI / 2, 0, 0]">
119
<ngt-plane-geometry />
120
<ngt-caustics-projection-material
121
- *ngIf="causticsTargetFbo() as targetFbo && causticsTargetBFbo() as targetBFbo"
+ *ngIf="causticsTargetFbo() && causticsTargetBFbo()"
122
[transparent]="true"
123
[color]="color()"
124
- [causticsTexture]="targetFbo.texture"
125
- [causticsTextureB]="targetBFbo.texture"
+ [causticsTexture]="causticsTargetFbo()!.texture"
+ [causticsTextureB]="causticsTargetBFbo()!.texture"
126
[blending]="CustomBlending"
127
[blendSrc]="OneFactor"
128
[blendDst]="SrcAlphaFactor"
0 commit comments