View Full Version : Frame Buffer
12-24-2008, 01:59 AM
A have a problem/
I have been searching everythere, but nothing :(
So, here is my problem:
I'm trying to draw into texture, using framebuffer.
After glClear everying is ok (color, alpha)
But when I start drawing somethin, colors and alpha are divided by 2. What is it? :confused:
12-24-2008, 03:46 AM
Framebuffer ? You mean framebuffer object, also known as FBO ?
What do you mean with "colors and alpha are divided by 2" ?
12-24-2008, 04:58 AM
Yes. May be my question is very simple, I'm a newbie and just trying to draw into texture using FBO
Result: colors are (0.5,0.5,0.5,0.5)
You might have blending enabled. Try glDisable (GL_BLEND) before you render into the texture.
12-24-2008, 09:11 AM
I have disabled everything:
Looks like accum? But where is no accum :(
12-25-2008, 07:51 AM
Perhaps this helps:
12-26-2008, 03:57 AM
It was that I used :)
I have found a solution: using rectangles 1x1 or 2x2 ;-)
(It is a Perlin's noise)
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.