To create mapping that sticks to the ship but otherwise does the same thing as current mapping, I UV unwrapped the ship's mesh using "Cube projection," set the unwrap size to 1, connected the image node to UV texture coordinate input, and changed the image node mapping back from "box" to the default "flat." Not sure about code, though.
To create mapping that sticks to the ship but otherwise does the same thing as current mapping, I UV unwrapped the ship's mesh using "Cube projection," set the unwrap size to 1, connected the image node to UV texture coordinate input, and changed the image node mapping back from "box" to the default "flat." Not sure about code, though.