mousebird / WhirlyGlobe-3

WhirlyGlobe-Maply 3.0 Implementation
Other
11 stars 6 forks source link

Layer Fade property #19

Closed llvinhll closed 4 years ago

llvinhll commented 4 years ago

I'm migrating from 2.6.x to 3.0, and I was using layer.fade but everything has change slightly. Is there a way to implement opacity on a QuadImageLoader?

mousebird commented 4 years ago

You can set the color. Fade was just being blended with the color in any case. I realize it's less intuitive, but you need to multiply your new fade through each color component.