View Full Version : Problem accessing FBO texture from shader[solved]
09-17-2006, 07:00 PM
Sorry if this has been asked before, but I'm unable to gain access to my FBO depth texture from my PCF shader. Is there something I'm missing? The same exact shader works with a texture copied with GlcopyTexSubimage2D. Thanks.
09-17-2006, 10:03 PM
I got it working, but this is really weird. Now I get white pixels where the PCF blends.
EDIT: Nevermind. It turns out that I just needed to use: GlBlendFunc GL_DST_COLOR, GL_ZERO
Works as expected now. ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.