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.

DarkBASIC Professional Discussion / Sync Mask and FastSync flicker

Author
Message
Diablo 3D
21
Years of Service
User Offline
Joined: 23rd May 2005
Location:
Posted: 25th Jul 2012 15:31
Hi guys

I've got a little program which uses multiple shaders and cameras, and when it comes to rendering them, the screen flickers like mad! The frame rate is fine (around 100fps on my machine), but the screen flickering is really annoying!

I'm new to using multiple shaders and cameras, so I'm probably missing something REALLY obvious... =\

Any help is appreciated



Self Destruction Computer Entertainment
Diablo 3D
21
Years of Service
User Offline
Joined: 23rd May 2005
Location:
Posted: 25th Jul 2012 15:40
Here's the build of the program so far, with all the media.

Self Destruction Computer Entertainment
Diablo 3D
21
Years of Service
User Offline
Joined: 23rd May 2005
Location:
Posted: 25th Jul 2012 16:26
Never mind, I figured it out!

I included this bit of code at the end...

[/code]
// Hide Objects for Shaders
If str_reflect_effect = "Enabled" or str_refract_effect = "Enabled" or str_normal_reflect_effect = "Enabled" or str_heat_haze_effect = "Enabled" or str_bloom_effect = "Enabled"
For int_i = 1 to dwd_objects_on_screen
If Object Exist( int_i ) = 1
Hide Object int_i
Endif
Next int_i
Endif

[code]

By removing it, it seems to have stopped the flickering!

Self Destruction Computer Entertainment

Login to post a reply

Server time is: 2026-07-08 23:04:56
Your offset time is: 2026-07-08 23:04:56