PDA

View Full Version : pBuffer and blur ???



andreasMank
04-28-2004, 01: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 ??

andreasMank
04-28-2004, 03: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??

yooyo
04-28-2004, 08: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.

yooyo