zcanter / aframe-gradient-sky

A-Frame gradient sky component
MIT License
25 stars 4 forks source link

transparency in setting colors #5

Closed rmrbytes closed 5 years ago

rmrbytes commented 6 years ago

Is there a way to set transparency to either the bottom or top color?

My use case is to use a cone and set colors from the bottom being dark and shaded to the top being transparent. Thanks

zcanter commented 6 years ago

Hi @rrrepos - honestly it's been ages since I last looked at this code. I'll see what I can do!

But I'm curious if it is transparent, what will be in the sky?

rmrbytes commented 6 years ago

Thanks @zcanter . I am not using it in the sky but as a shader on a cone. I thought it would work in this manner. Appreciate your taking time

zcanter commented 6 years ago

Very interesting. I can't guarantee anything too quickly as I am currently quite busy, but I will try. Either way, I am planning on overhauling this project during the Winter break.

rmrbytes commented 6 years ago

Sure. Will stay clued in. Thanks.

zcanter commented 5 years ago

Hey @rrrepos unfortunately I can't easily find a way to do the transparency update. I'm sure there is a way but I don't have the time to do a deep dive. Perhaps in the future sometime. Best of luck to you in the mean time.

rmrbytes commented 5 years ago

Thanks @zcanter . Enjoy the winter break.