a1studmuffin / SpaceshipGenerator

A Blender script to procedurally generate 3D spaceships
Other
7.66k stars 437 forks source link

IDEA: Textures don't stay with moving ship. Easy fix! #38

Open thelabcat opened 3 years ago

thelabcat commented 3 years ago

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.

ldo commented 3 years ago

I fix this by using Generated coordinates in my version.