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 5050 var effectController = {
5151 turbidity : 10 ,
5252 rayleigh : 2 ,
53- luminance : 1 ,
5453 mieCoefficient : 0.005 ,
5554 mieDirectionalG : 0.8 ,
55+ luminance : 1 ,
5656 inclination : 0.49 , // elevation / inclination
5757 azimuth : 0.25 , // Facing front,
5858 sun : ! true
6565 var uniforms = sky . material . uniforms ;
6666 uniforms [ "turbidity" ] . value = effectController . turbidity ;
6767 uniforms [ "rayleigh" ] . value = effectController . rayleigh ;
68- uniforms [ "luminance" ] . value = effectController . luminance ;
6968 uniforms [ "mieCoefficient" ] . value = effectController . mieCoefficient ;
7069 uniforms [ "mieDirectionalG" ] . value = effectController . mieDirectionalG ;
71-
70+ uniforms [ "luminance" ] . value = effectController . luminance ;
71+
7272 var theta = Math . PI * ( effectController . inclination - 0.5 ) ;
7373 var phi = 2 * Math . PI * ( effectController . azimuth - 0.5 ) ;
7474
You can’t perform that action at this time.
0 commit comments