Announcement

Collapse
No announcement yet.

UV coordinates with Cube texture

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    UV coordinates with Cube texture

    Hello community!
    I'm trying to use a cube texture as a simple texture sample. Actually I can't because a cube texture requiers 3 UV coordinates instead of 2 for a texture sample.
    Is there a workaround to do this?

    Click image for larger version

Name:	20191011_10h31_03.jpg
Views:	1
Size:	91.3 KB
ID:	1672936

    #2
    Yep, just use ReflectionVector node instead Texture coordinates.

    Comment


      #3
      Hi NasteX.
      No, this is not what I try to achieve : in this way, projection is still done in world space. What i'm looking for is to use Uv coordinates from the 3D model on which texture is applied.

      Take a look to my screenshot below, I converted a 8bits version of the texture to show what I would like, but with the use of 32bits image!
      I guess there is a way to convert something to project an HDR imge in UV space, no?

      Click image for larger version  Name:	20191011_12h28_02.jpg Views:	1 Size:	76.8 KB ID:	1672975

      Comment


        #4
        Hm, I misunderstood you. Just resave the cube texture to .exr (It has 32 bit support), not .hdr.

        Edit: I just tested it to import .exr and just use texture coordinate node it works.
        Last edited by NasteX; 10-11-2019, 06:52 AM.

        Comment


          #5
          Thanks for the tip. It would be a workaround indeed.

          Comment

          Working...
          X