Announcement

Collapse
No announcement yet.

Cubemap Reflection from Texture2D?

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

    Cubemap Reflection from Texture2D?

    Hello, i ran into an issue again wich is bugging me long time now.

    Here they tell its just ReflectionVector and a Mask to obtain the right TexCoords for "cubemapping" a Texture2d
    https://docs.unrealengine.com/latest...ectionvectorws

    but it is not. Thats my Texture:
    http://gl.ict.usc.edu/HDRShop/tutori...zi_latlong.jpg

    Thats the Result:
    Click image for larger version

Name:	cubemapping.jpg
Views:	1
Size:	82.4 KB
ID:	1168663

    One could think thats just 90° swapped and some multiplications, but its really not. so whats wrong here?
    I can not use the cupemaps, so i have to stay with texture2d in this case.

    thanks a lot.
Working...
X