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?
What are those things?
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.
A gBuffer stores gStrings.
GTFO of my threads!
Och Buschibär. ;)
Quote:
GTFO of my threads!
Code:
............................................................................................................................/´¯¯¯/
..........................................................................................................................,/..../
........................................................................................................................../..../
........................................................................................................................./..../
......................................................................................................................../..../
......................................................................................................................./..../
....................................................................................................................../..../
...................................................................................................................../..../
..................................................................................................................../..../
.................................................................................................................../..../
................................................................................................................../..../
................................................................................................................./..../
................................................................................................................/..../
.............................................................................................................../..../
............................................................................................................../..../
............................................................................................................./..../
............................................................................................................/..../
.........................................................................................................../..../
........................................................................................................../..../
........................................................................................................./..../
......................................................................................................../..../
......................................................................................................./..../
....................................................................................................../..../
...................................................................................................../..../
..................................................................................................../..../
.................................................................................................../..../
................................................................................................../..../
................................................................................................./..../
................................................................................................/..../
.............................................................................................../..../
............................................................................................../..../
............................................................................................./..../
............................................................................................/..../
.........................................................................................../..../
........................................................................................../..../
........................................................................................./..../
......................................................................................../..../
......................................................................................./..../
....................................................................................../..../
...................................................................................../..../
..................................................................................../..../
.................................................................................../..../
................................................................................../..../
................................................................................./..../
................................................................................/..../
.............................................................................../..../
............................................................................../..../
............................................................................./..../
............................................................................/..../
.........................................................................../..../
........................................................................../..../
........................................................................./..../
......................................................................../..../
......................................................................./..../
....................................................................../..../
...................................................................../..../
..................................................................../..../
.................................................................../..../
................................................................../..../
................................................................./..../
................................................................/..../
.............................................................../..../
............................................................../..../
............................................................./..../
............................................................/..../
.........................................................../..../
........................................................../..../
........................................................./..../
......................................................../..../
......................................................./..../
....................................................../..../
...................................................../..../
..................................................../..../
.................................................../..../
................................................../..../
................................................./..../
................................................/..../
.............................................../..../
............................................../..../
............................................./..../
............................................/..../
.........................................../..../
........................................../..../
........................................./..../
......................................../..../
......................................./..../
....................................../..../
...................................../..../
..................................../..../
.................................../..../
................................../..../
................................./..../
................................/..../
.............................../..../
............................../..../
............................./..../
............................/..../
.........................../..../
........................../..../
........................./..../
......................../..../
......................./..../
....................../..../
...................../..../
..................../..../
.................../..../
............./´¯/'...'/´¯¯`·¸
........../'/.../..../......./¨¯\
........('(...´...´.... ¯~/'...')
.........\.................'...../
.............\.......... _.·´
............\..............(
..............\.............\...
:)
Those texelFetch functions, are they faster (more cache friendly, skip a few steps) than texture2D?
gsampler is a sampler of elements of type genType ^^
to stay true to the specs.
to stay true to the specs.