Results 1 to 2 of 2

Thread: color value from texture coordinate

  1. #1
    Join Date
    Oct 2013
    Posts
    4

    Default color value from texture coordinate

    Hey,

    I have a texture (miTag tex) and I want the color value from a specific Position on the texture.
    How can I get this color?

  2. #2
    Join Date
    Oct 2013
    Posts
    4

    Default

    Quote Originally Posted by Spleen View Post
    Hey,

    I have a texture (miTag tex) and I want the color value from a specific Position on the texture.
    How can I get this color?
    Solution:

    Code:
    miBoolean mi_lookup_color_texture(
            miColor         *color,
            miState         *state,
            miTag           tag,
            miVector        *coord)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •