Jump to content

Decal UV question


photo

Recommended Posts

Posted

Please see attached screenshot of an ortho decal I created and the texture applied to it

post-225-0-74585900-1318578623_thumb.png

It looks flipped on the Y axis. Is it because Decal Uv's are generated according to world axes? If I understand right, Unigine's v axis is opp. to the world Y axis. I'd expect the texture not to be flipped. Is there any other gotcha here?

 

Thanks,

Ashwin.

Posted

Added setScaleX()/setScaleY() and setTranslateX()/setTranslateY() for decal texture coordinates. They can be tweaked in Nodes settings. Setting ScaleY to -1 will flip the decal texture.

These options be available in the next SDK.

×
×
  • Create New...