Lightning
-
Dodge gives some pretty good results. Using a gradient, the whiter the more intense the light. Fade off to either black or opaque to simulate falloff.
What I'm trying to say is that you have lighting but no darkness. In this case it looks good, but for games where you want pitch black darkness, it won't work. You could use a huge shape with a transparent gradient circle in the middle for a point of light, but this wouldn't work with multiple. Similarly, you might be able to use 2 triangles that scale/skew/rotate from each object if you want realistic lighting, but it would still only work for 1 light source. Your way looks like shining a bright light at something which is not dark in the first place. It's a cool effect, but nit the same as real lighting.
-
What I'm trying to say is that you have lighting but no darkness. In this case it looks good, but for games where you want pitch black darkness, it won't work. You could use a huge shape with a transparent gradient circle in the middle for a point of light, but this wouldn't work with multiple. Similarly, you might be able to use 2 triangles that scale/skew/rotate from each object if you want realistic lighting, but it would still only work for 1 light source. Your way looks like shining a bright light at something which is not dark in the first place. It's a cool effect, but nit the same as real lighting.
-
@Jack8680 yup, like I said it's not a real replacement for lighting.
We're working on an awesome lighting system that will be part of one of the next updates. Masking will also be part of it ( they rely on a similar change to layers).
@Murtaza does mask subtract brightness, transparancy, or just completely solidly mask the transparency? E.g. If I have a gradient from transparent to white, will it mask as that gradient or will the transparent part mask the object below it to invisible? Being able to mask using gradients would definitely allow for lighting, even shadows would be doable
-
@Murtaza does mask subtract brightness, transparancy, or just completely solidly mask the transparency? E.g. If I have a gradient from transparent to white, will it mask as that gradient or will the transparent part mask the object below it to invisible? Being able to mask using gradients would definitely allow for lighting, even shadows would be doable
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login