File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5252
5353 var RADIUS = 75 ;
5454
55- THREE . ShaderChunk [ 'lights_pars_maps ' ] += [
55+ THREE . ShaderChunk [ 'lights_pars_begin ' ] += [
5656 '#if defined TILED_FORWARD' ,
5757 'uniform vec4 tileData;' ,
5858 'uniform sampler2D tileTexture;' ,
5959 'uniform sampler2D lightTexture;' ,
6060 '#endif'
6161 ] . join ( '\n' ) ;
6262
63- THREE . ShaderChunk [ 'lights_fragment_maps ' ] += [
63+ THREE . ShaderChunk [ 'lights_fragment_end ' ] += [
6464 '' ,
6565 '#if defined TILED_FORWARD' ,
6666 'vec2 tUv = floor(gl_FragCoord.xy / tileData.xy * 32.) / 32. + tileData.zw;' ,
383383 init ( geometry ) ;
384384 resize ( ) ;
385385
386- renderer . animate ( function ( time ) {
386+ renderer . setAnimationLoop ( function ( time ) {
387387
388388 update ( time / 1000 ) ;
389389 stats . begin ( ) ;
You can’t perform that action at this time.
0 commit comments