Table of Contents Chapter Index Previous Slide Next Slide 238
Syntax: PixelTexture

Mapping textures
Syntax: PixelTexture
  • A PixelTexture node specifies texture image pixels for texture mapping
  • image pixels - texture image pixels
  • image data - width, height, bytes/pixel, pixel values

    PixelTexture {
        image 2 1 3 0xFFFF00 0xFF0000
    }