|
@@ -300,7 +300,7 @@ function WebGLPrograms( renderer, cubemaps, cubeuvmaps, extensions, capabilities
|
|
|
|
|
|
fog: !! fog,
|
|
fog: !! fog,
|
|
useFog: material.fog === true,
|
|
useFog: material.fog === true,
|
|
- fogExp2: ( fog && fog.isFogExp2 ),
|
|
|
|
|
|
+ fogExp2: ( !! fog && fog.isFogExp2 ),
|
|
|
|
|
|
flatShading: material.flatShading === true,
|
|
flatShading: material.flatShading === true,
|
|
|
|
|