Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Light collision

Author
Message
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Dec 2019 14:10
Hello forum,

Does AppGameKit has the ability to make lights fully collide with the objects around it, without leeking?

Thank you!
www.alexmatei.com

Attachments

Login to view attachments
Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 4th Dec 2019 20:22
Not that I know. But if you make the object thick enough it won't leak, (which makes sense when using physics too).
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Dec 2019 03:35
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 5th Dec 2019 10:49
Hey guys,

Didn't worked. As for the walls, it's a part of the design for them to be with that size.
I've set the ambient color to be specific for every time of day. Changing it will alter my decision...
www.alexmatei.com
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Dec 2019 11:14 Edited at: 5th Dec 2019 11:15
Ambient light is everywhere so it will bleed into your shadows. Maybe you could change the sun color instead of ambient
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 5th Dec 2019 16:16
good idea, but still bleeding underneath the objects...
www.alexmatei.com
hendron
8
Years of Service
User Offline
Joined: 20th Dec 2015
Location:
Posted: 5th Dec 2019 17:13
Sounds like what you're asking for is point light shadows, which AppGameKit doesn't support out of the box (you'd need to use custom shaders).
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 6th Dec 2019 11:29
Yes, maybe I should use GG Loader's resources.
www.alexmatei.com
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 7th Dec 2019 22:31 Edited at: 7th Dec 2019 22:32
Works for me

Attachments

Login to view attachments
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 9th Dec 2019 16:21
You need to change the bias if it's the stock shadows that are bleeding I think.
hendron
8
Years of Service
User Offline
Joined: 20th Dec 2015
Location:
Posted: 9th Dec 2019 16:36
I could be wrong but I think MateiSoft is referring to the red point light bleeding under the wall in the original image.
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 9th Dec 2019 17:01
Ah. Yeah in that case its def point light shadows.

I think Janbo is about to add one to his shader pack.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 9th Dec 2019 22:33
So there's a point light right next to the shadow and you don't want it to bleed into the shadow. Is that it?

Login to post a reply

Server time is: 2024-05-06 08:17:47
Your offset time is: 2024-05-06 08:17:47