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.

Newcomers AppGameKit Corner / Change shadow colour

Author
Message
OriginalKronos
6
Years of Service
User Offline
Joined: 10th Nov 2017
Location:
Posted: 12th Nov 2017 16:01
HI,

When using 3D Is there a way to change the shadow colour? I want to lighten it up as it the complete black looks a bit weird.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 12th Nov 2017 22:28
Changing the ambient color will soften the shadows.
I use SetAmbientColor( red, green, blue )
It's a global setting so you may have to adjust your texture colours but it will soften your shadows
i use SetAmbientColor(150, 150, 150)
OriginalKronos
6
Years of Service
User Offline
Joined: 10th Nov 2017
Location:
Posted: 14th Nov 2017 20:46
Thank you that helped. Also turning the SunColor down a bit improves things also.

Login to post a reply

Server time is: 2024-04-19 22:56:22
Your offset time is: 2024-04-19 22:56:22