Jump to content

Recommended Posts

Posted

Hi, I've been loading the tunnels.sbx scene following the thread here:

http://www.leadwerks...age__hl__vs2008

 

 

The scene loads fine, but if I activate HDR I get horrendous artifacts and glitches. I'm not sure where to even start looking. The scene renders fine without HDR activated. The gamelog has no errors

 

//// DISABLE SetHDR(1);

http://welkstore.com/images/hdr0.jpg

 

SetHDR(1);

http://welkstore.com/images/hdr1.jpg

 

graphics card: ATI Radeon 7950

Posted

OK I think I *might* have fixed it. I changed quite a lot but I think I narrowed it down to when I was rendering text. I used

 

SetBlend(BLEND_ALPHA);

 

somewhere between

 

// Render

RenderFramework();

 

and

 

// Send to screen

Flip(0) ;

 

 

 

I need to tidy up my code and do a few more tests to confirm this was the error, but looks like the fix is to reset back to

 

SetBlend(BLEND_NONE);

 

right before flipping. Probably says that in the docs somewhere and I missed it, idk!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...