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 / Transparent object render order

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 3rd Dec 2017 21:57 Edited at: 3rd Dec 2017 21:59
Couple of questions
1. I have a transparent texture and it appears that it is being rendered in reverse order. Is there anyway to tell AppGameKit the correct render order?


2. Is there anyway to force AppGameKit to render back faces on an object?

Attachments

Login to view attachments
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 3rd Dec 2017 22:06
1. I never paid attention to that... ?

2. SetObjectCullMode ?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 3rd Dec 2017 22:22 Edited at: 3rd Dec 2017 22:22
Thanks mike. I found that SetObjectDepthWrite() fixed the first issue.
I will take a look at SetObjectCullMode()
Thanks
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 3rd Dec 2017 22:37
Quote: "I found that SetObjectDepthWrite() fixed the first issue."


ho ok .. by "reverse ordered" you implied "depth ordering" ... ok (i was in the vertices ordering ...lol)

Login to post a reply

Server time is: 2024-11-18 05:13:32
Your offset time is: 2024-11-18 05:13:32