pouët.net

GLSL: WTF is a gsampler?

category: general [glöplog]
 
I've found some glsl functions that take gbuffers but I can't find anything about them on the specification. Google also doesn't return anything.
What are those things?
added on the 2010-02-07 23:22:28 by xernobyl xernobyl
Quote:
In the prototypes below, the “g” in the return type “gvec4” is used as a placeholder for nothing, “i”, or “u”
making a return type of vec4, ivec4, or uvec4.

Mystery solved. They could have chosen a better letter for that.
added on the 2010-02-07 23:34:16 by xernobyl xernobyl
A gBuffer stores gStrings.
added on the 2010-02-07 23:52:55 by raer raer
GTFO of my threads!
added on the 2010-02-07 23:53:55 by xernobyl xernobyl
Och Buschibär. ;)
added on the 2010-02-08 00:04:55 by raer raer
Quote:

GTFO of my threads!


Code: ............................................................................................................................/´¯¯¯/ ..........................................................................................................................,/..../ ........................................................................................................................../..../ ........................................................................................................................./..../ ......................................................................................................................../..../ ......................................................................................................................./..../ ....................................................................................................................../..../ ...................................................................................................................../..../ ..................................................................................................................../..../ .................................................................................................................../..../ ................................................................................................................../..../ ................................................................................................................./..../ ................................................................................................................/..../ .............................................................................................................../..../ ............................................................................................................../..../ ............................................................................................................./..../ ............................................................................................................/..../ .........................................................................................................../..../ ........................................................................................................../..../ ........................................................................................................./..../ ......................................................................................................../..../ ......................................................................................................./..../ ....................................................................................................../..../ ...................................................................................................../..../ ..................................................................................................../..../ .................................................................................................../..../ ................................................................................................../..../ ................................................................................................./..../ ................................................................................................/..../ .............................................................................................../..../ ............................................................................................../..../ ............................................................................................./..../ ............................................................................................/..../ .........................................................................................../..../ ........................................................................................../..../ ........................................................................................./..../ ......................................................................................../..../ ......................................................................................./..../ ....................................................................................../..../ ...................................................................................../..../ ..................................................................................../..../ .................................................................................../..../ ................................................................................../..../ ................................................................................./..../ ................................................................................/..../ .............................................................................../..../ ............................................................................../..../ ............................................................................./..../ ............................................................................/..../ .........................................................................../..../ ........................................................................../..../ ........................................................................./..../ ......................................................................../..../ ......................................................................./..../ ....................................................................../..../ ...................................................................../..../ ..................................................................../..../ .................................................................../..../ ................................................................../..../ ................................................................./..../ ................................................................/..../ .............................................................../..../ ............................................................../..../ ............................................................./..../ ............................................................/..../ .........................................................../..../ ........................................................../..../ ........................................................./..../ ......................................................../..../ ......................................................./..../ ....................................................../..../ ...................................................../..../ ..................................................../..../ .................................................../..../ ................................................../..../ ................................................./..../ ................................................/..../ .............................................../..../ ............................................../..../ ............................................./..../ ............................................/..../ .........................................../..../ ........................................../..../ ........................................./..../ ......................................../..../ ......................................./..../ ....................................../..../ ...................................../..../ ..................................../..../ .................................../..../ ................................../..../ ................................./..../ ................................/..../ .............................../..../ ............................../..../ ............................./..../ ............................/..../ .........................../..../ ........................../..../ ........................./..../ ......................../..../ ......................./..../ ....................../..../ ...................../..../ ..................../..../ .................../..../ ............./´¯/'...'/´¯¯`·¸ ........../'/.../..../......./¨¯\ ........('(...´...´.... ¯~/'...') .........\.................'...../ .............\.......... _.·´ ............\..............( ..............\.............\...
:)
added on the 2010-02-08 00:07:52 by xernobyl xernobyl
Those texelFetch functions, are they faster (more cache friendly, skip a few steps) than texture2D?
added on the 2010-02-08 00:14:59 by xernobyl xernobyl
gsampler is a sampler of elements of type genType ^^

to stay true to the specs.
added on the 2010-02-08 18:14:51 by xTr1m xTr1m

login