File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { Material } from '../heck/Material';
77import { Quad } from '../heck/components/Quad' ;
88import { Swap } from '@fms-cat/experimental' ;
99import { dummyRenderTarget } from '../globals/dummyRenderTarget' ;
10+ import { gl } from '../globals/canvas' ;
1011import { quadGeometry } from '../globals/quadGeometry' ;
1112import { vdc } from '../utils/vdc' ;
1213import iblLutFrag from '../shaders/ibl-lut.frag' ;
@@ -31,11 +32,13 @@ export class IBLLUT {
3132 width : IBLLUT_SIZE ,
3233 height : IBLLUT_SIZE ,
3334 name : process . env . DEV && 'IBLLUT/swap0' ,
35+ filter : gl . NEAREST ,
3436 } ) ,
3537 new BufferRenderTarget ( {
3638 width : IBLLUT_SIZE ,
3739 height : IBLLUT_SIZE ,
3840 name : process . env . DEV && 'IBLLUT/swap1' ,
41+ filter : gl . NEAREST ,
3942 } ) ,
4043 ) ;
4144
You can’t perform that action at this time.
0 commit comments