View Full Version : 1D texturing

10-09-2002, 11:33 AM
Could someone give me a location of an example using 1D texturing or send me a sample program, I would appreciate it.

I am trying to change color per height increment on a contour map.

10-09-2002, 12:00 PM
hmmm,looks like you found out yourself(check your other post).Anyway 1d texturing is exactly like 2d texturing only the texture is (2^n x 1) in size(a single line of pixels) and you therefore need only one texcoord per vertex.