[GEM-dev] 2textures + gemframebuffer
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Mar 31 12:49:58 CEST 2008
cyrille henry wrote:
>
>>
>> probably i should have a look at a patch where the problem is really
>> exposed.
> ok. you can have a look at this file. on the right : i use a pix_image
> to set the texture coordinate, in order to use it in the shader.
> without loading this (unused) image, it does not work.
so what would be the preferred way of doing it?
the attached modification of your example works fine and uses the
framebuffer itself as a dummy texture. is this what you head in mind?
>>
>> (and i should add better aliases for the messages to [gemframebuffer];
>> like "dimen" instead of "dim",
> ok
>> and "rectangle" instead of "mode" to make it in-line with other
>> objects...)
> pix_texture use "mode 0" and "mode 1".
> what object does use rectangle?
[pix_texture] :-)
i added this alias because i kept forgetting what "mode" actually means
- the rectangle-mode, the repeat-mode, the clientstorage-mode, the
quality-mode or the texenv-mode.
>
> i just add a feature request to add a texunit message to the
> gemframebuffer, this would be very usefull.
i have seen it and agree.
fmasd.r
IOhannes
More information about the GEM-dev
mailing list