Offset world position texture by player position

Hello!

So I am having a hard time finding resources online. I don’t really understand the exact tiling units and stuff for world position. Currently i’m trying to take world position projection for a texture, then use a vector 2 which offsets it to be the player position. I keep playing around with changing values and different math but im not totally sure what units or values to get it to tile and offset correctly.

EDIT : Well I’m trying to have it scaled to a plane that’s a scale of 1, the world space coordinates can be divided by 1000 and that’s the correct size, but now I’m not sure how to center it based on x and y coordinates being fed into the shader by a vector 2 parameter

World Position is in centimeters. The units of texture coordinates on a mesh are arbitrary and dependent upon the objects UVs and scale. To get a coordinate system local to a object, you would subtract the actor position from the absolute world position. You can also use the transform position node to convert world to local coordinates vice versa.

1 Like