He said it might melt your processor... but on a macbook m3 in arc runs great, like every one of those was amazing.
M4 iPad Pro here started to freeze up on the Starry Night animation.
So you think you know box shadows?
21–30 of 130 posts
Re: So you think you know box shadows?
#22He said it might melt your processor... but on a macbook m3 in arc runs great, like every one of those was amazing.
Re: So you think you know box shadows?
#23That's because transparency limits how you can batch draws on the GPU. With opaque draws, you can use the depth buffer and draw in any order you like e.g. maximizing batching. With transparency, you need to draw things in the right order for blending to work (painters order).
Re: So you think you know box shadows?
#24> However, using a transparent color significantly slowed down the number that can be drawn too which doesn't make as much sense to me. I'd imagine that with hardware today transparency should be somewhat free. That's because transparency limits how you can batch draws on the GPU. With opaque draws, you can use the depth buffer and draw in any order you like e.g. maximizing batching. With transparency, you need to dr…
Re: So you think you know box shadows?
#25He said it might melt your processor... but on a macbook m3 in arc runs great, like every one of those was amazing.
On Safari iPad, I lose the ability to scroll or do anything somewhere in the middle of the article.
Re: So you think you know box shadows?
#26Any references to learn more about these hacks?
Re: So you think you know box shadows?
#27Re: So you think you know box shadows?
#28> However, using a transparent color significantly slowed down the number that can be drawn too which doesn't make as much sense to me. I'd imagine that with hardware today transparency should be somewhat free. That's because transparency limits how you can batch draws on the GPU. With opaque draws, you can use the depth buffer and draw in any order you like e.g. maximizing batching. With transparency, you need to dr…
Can't you mathematically work out how to change the colors/opacity to rearrange the job?
Re: So you think you know box shadows?
#29> However, using a transparent color significantly slowed down the number that can be drawn too which doesn't make as much sense to me. I'd imagine that with hardware today transparency should be somewhat free. That's because transparency limits how you can batch draws on the GPU. With opaque draws, you can use the depth buffer and draw in any order you like e.g. maximizing batching. With transparency, you need to dr…
Re: So you think you know box shadows?
#30> It also turns out that some smart people figured out maths hacks to draw rounded boxes for super cheap which UI peeps love because with this hack boxes can be so round as to appear as circles Any references to learn more about these hacks?