View Full Version : pBuffer and blur ???
04-28-2004, 02:52 AM
how can i blur my texture storred in pBuffer ?? are there any predefined filters or hav i to do it myself by matrix multiplikation of each pixel ??
04-28-2004, 04:27 AM
ok .. i found shaders for imaging in the glsl book .. but i don't know how to use a fragment shader on the pbuffer .. do anyone knows??
04-28-2004, 09:57 AM
you can't blur texture pbuffer. you can store blured texture to another pbuffer or backbuffer
easy... switch to backbuffer or to another pbuffer, bind your pbuffer with texture to gl texture and render big quad using glsl fragment shader.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.