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 / Feature Request: Shadow Alpha to Object Alpha

Valued Member
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 27th Jul 2019 20:30
Is it possible for shadows to get lighter if an object alpha is set with SetObjectColorAlpha? So for example if an object is set to fade out to nothing using an alpha tween, could the shadow also gradually fade to nothing based on the objects alpha setting? Thanks.
Retired Moderator
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 28th Jul 2019 01:40
That sounds like it would need a shader, and prob a little to complex for the standard shader used
fubarpk on Itch...………...
fubarpk on googleplay..
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 28th Jul 2019 21:18
Normally you just have the distance of the occluder in you shadow map. But you could also render the distance and alpha value or maybe also the color of the ...lets say stained glass(somehow decoded into the four color channels). Take my shadow shader and change it like you want.

Login to post a reply

Server time is: 2024-04-12 22:02:07
Your offset time is: 2024-04-12 22:02:07