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 Classic Chat / SetObjectCullmode = 0 but shadows appear to be cast from mesh with CullMode = 1.

Author
Message
OriginalKronos
6
Years of Service
User Offline
Joined: 10th Nov 2017
Location:
Posted: 17th Jan 2024 22:30
I have a tree mesh that I set to SetObjectCullMode = 0 and SetObjectAlphaMask = 1 so it renders the front and rear faces correctly for the foliage part of the tree. However I notice the shadows seem to be cast from mesh with only front faces active so parts of the shadow are missing. Am I doing some wrong, is there anyway to fix this?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 18th Jan 2024 00:12
Use SetObjectCastShadow(id, 0) to turn shadows off

Login to post a reply

Server time is: 2024-04-28 15:03:58
Your offset time is: 2024-04-28 15:03:58