Skip to main content
gamedev.net
🔒 Locked

problem with blitting render target onto backbuffer

Started by grunt123 Aug 19, 2006 at 12:14 PM 2 replies 400+ views
Original Post
grunt123
grunt123
Hi, i've got a problem with blitting a render target onto backbuffer. Basically, i create a separate render target and set it to the current render target. I render particle effects and set the original backbuffer to the current render target. After that, I blit the separate render target onto backbuffer by rendering a full screen quad. The problem is that the final result looks different than what i would see if i just directly render particle effects onto backbuffer. It looks more transparent .. overall, RGBA value of blitted pixels looks decreased. Have anyone seen this problem before? thanks.
Matt Aufderheide
Matt Aufderheide
Well, what kind of blend mode do you use when you render the quad? Do you render alpha when you render the particles?
grunt123
grunt123
i do render alpha when rendering particle effects, but i'm not sure what kind of alphablending state the blit function is using. I'll have to look it up in the source codes since someone else wrote the function. I've been away from the work for a couple of days, and this problem kept bugging me these days. Actually, alpha blending mode is something that i thought about too ... is there any other cause for this problem?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.