Version française
Home     About     Download     Resources     Contact us    
Browse thread
LablGL textures with borders?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: LablGL textures with borders?
I am trying to use textures with borders, in order to build a mosaic
without visible seams between the tiles.

But whenever I use (GlTex.image2d ~border:true), I get bad width or
height errors.  I'm not sure whether I should be starting with a 64x64
image (for example), or a 66x66 one, and setting the border pixels
myself.  Does anyone have any examples that do this correctly?

It would also be useful to have a binding for GlTexSubImage2d.

-- 
Eric Cooper             e c c @ c m u . e d u