268

Mapping textures
Syntax: PixelTexture

  • A PixelTexture node specifies texture image pixels for texture mapping
  • image - texture image pixels
  • Image data - width, height, bytes/pixel, pixel values
  • Shape {
        appearance Appearance {
            material Material { }
            texture PixelTexture {
                image 2 1 3
                    0xFFFF00 0xFF0000
            }
        }
        geometry . . .
    }