![]() ![]() The second callback is after lights have been mixed at this point normal OpenGL drawing works reliably (albeit without spill lights being mixed in).The first callback is for drawing “solid” stuff that will be affected by spill lights the only safe thing you can do from this callback is to call XPLMDrawObject.In particular, you get called twice when your plugin requests to draw in 3-d: I have updated the X-Plane SDK tech-note on 3-d drawing to contain modern guidance on how to cope with 3-d drawing callbacks. Getting a plugin that draws in 3-d to work with HDR mode requires some caution the plugin APIs for drawing were designed in X-Plane 6, when ‘deferred rendering’ didn’t even exist as a concept. (I hate to see users have to pick between HDR and third party add-ons we want HDR to be the basis for superior next-generation aircraft and scenery.) From the user reports I’ve read, performance in HDR mode is good. X-Aviation just posted an update to SkyMaxx Pro – the new 1.1 patch brings big performance improvements and fixes rendering problems with HDR. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |