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 / [BUG] 2.0.21 SetRenderToImage ( Mac,Android ).

Author
Message
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 14th Oct 2016 12:18
SetRenderToImage( 2, -1 )

On Mac it looks like depth buffer is way to small. objects gets cut in half, do strange stuff and a lot of flickering.

On Android (samsung s2) it looks like the screen (keep) changing resolution, but other then that it looks like the objects looks correct.

Works perfectly on Ipad/Iphone and Windows. ( did not test linux ).

Code: just load the sample project “shaders” “bloom” and replace the main code with this ( press key 1 to see it use sync, and it works )


Screenshots , using Sync and using SetRenderToImage:
best regards Preben Eriksen,

Attachments

Login to view attachments
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Oct 2016 15:59
I'll change the next version to always use 24bit depth buffers on Mac. I added code that checked for 24bit support before using them, and to fall back to 16bit depth buffers, but I assume all Macs these days would be able to support 24bits even if they don't report support for them.

On my Nexus 7 it appeared to change resolution at the start and then behaved normally, so I'm not sure what's happening on the Samsung S2.

Login to post a reply

Server time is: 2024-11-25 02:02:36
Your offset time is: 2024-11-25 02:02:36