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 / I dont understand shadow behaviour

Author
Message
jlahtinen
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 16th Jan 2024 13:44
My shadows looks like crap and when you rotate camera the shadows will glitch and then disappear completely.

I copied the shadow commands from the included shadow example and still they look awful (look at the box's shadow).

Attachments

Login to view attachments
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 16th Jan 2024 19:16
These are the settngs i use;


I have found Setting ShadowRange() smaller and SetShadowMapSize() larger have the greatest effect
jlahtinen
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 17th Jan 2024 08:25
Hmm... thanks, now it's little better and they wont disappear anymore. I'll continue to try different settings.

Login to post a reply

Server time is: 2024-11-07 04:45:57
Your offset time is: 2024-11-07 04:45:57