PDA

View Full Version : Making brick wall texture programmatically



Zogger
05-15-2005, 07:34 AM
Hi,

I new with OpenGL and I need to do brick wall texture programmatically. Can anybody give me a hint how that can be done.

Thanks.

-Zogger

05-15-2005, 10:51 AM
Why don't you just take a picture of a brick and use that?

05-15-2005, 11:40 AM
Synthesizing a texture has nothing to do with OpenGL. Use Photoshop or some other graphics app to do it.

ZbuffeR
05-15-2005, 01:07 PM
A GLSL brick shader :
http://developer.3dlabs.com/openGL2/downloads/ogl2brick.zip

Zogger
05-16-2005, 12:41 AM
It is a school project and the texture must be done programmatically, that why I can't use picture of a brick. It doesn't have to be brick though. Just something to decorate the walls.