Is it possible to smoothly fade in/out highlight layer? Since addMesh only works with solid Color3, seems like manipulating color alpha wouldn’t work…
You can use
neutralColor property: Babylon.js docs
Corresponding example PG:
Nice trick . One would need to think of it. Bookmarked, thanks for that and have a great day
Nice trick indeed!
Looks like it only works with inner glow?
I believe it works with both as per this PG
Edit: OOps, apologies. I believe it doesn’t. At least, not just like this.
@Takemura any thoughts about this? Thx,
Just for fun I made a little HighLightLayer subclass with a property to control the intensity (it works for both inner and outer glow). And then animated the intensity from 0 to 1. Here it is if you want to play around with it.
@Blake This is awesome!
Yes, I say ‘Yes’