Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Access Vector3 color coordinate inside Cubemap?

Discussion in 'Shaders' started by mayekol, May 13, 2008.

  1. mayekol

    mayekol

    Joined:
    Oct 23, 2007
    Posts:
    115
    Hello I was wondering if the Unity cube map texture allows axis to a 3D coordinate/color within a cube map? I have a cube map that maps the color space in three dimensions and am trying to access colors at specific 3D coordinates within the cube map. Does the cube map create a 3D texture of color or just something mapped to the faces?
     
  2. mayekol

    mayekol

    Joined:
    Oct 23, 2007
    Posts:
    115
    After some more testing it looks like Cubemap != 3D texture ( I suppose a giveaway was that it allowed 6 sides to be textured )