Closed IRobot1 closed 2 years ago
I think you can use like this
[scene]="{
background: 'black' | color,
fog: ['black' | color, 250, 1400] | fog
}"
You can do: fog: ['black', 250, 1400] | fog
since Fog
accepts a ColorRepresentation
instead of Color
.
I'm using the following to declare fog settings
However, I'm getting the following build error
For now, I can work-around by declaring a Fog() variable