Skip to content

Commit

Permalink
Update packages/dev/core/src/Materials/Node/Blocks/PBR/reflectionBloc…
Browse files Browse the repository at this point in the history
…k.ts

Co-authored-by: Popov72 <github@evpopov.com>
  • Loading branch information
MiiBond and Popov72 authored Jan 18, 2025
1 parent c0bb1e5 commit 793bdad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export class ReflectionBlock extends ReflectionTextureBaseBlock {
this.forceIrradianceInFragment = serializationObject.forceIrradianceInFragment;
if (this.texture) {
this.texture.gammaSpace = serializationObject.gammaSpace;
this.useAlternateRoughRadiance = serializationObject.useAlternateRoughRadiance;
this.useAlternateRoughRadiance = !!serializationObject.useAlternateRoughRadiance;
}
}
}
Expand Down

0 comments on commit 793bdad

Please sign in to comment.