LogicalError / realtime-CSG-for-unity

Realtime-CSG, CSG level editor for Unity
https://realtimecsg.com
MIT License
732 stars 76 forks source link

Subtraction results in mirrored UVs #362

Open SK83RJOSH opened 2 years ago

SK83RJOSH commented 2 years ago

I'm not sure if this is intentional or not, but generally speaking if texture lock is disabled this feels incorrect since you'd expect the resulting measure textures to still be readable, for example, if you have a texture with the outline of a door in it and you want to inset that a certain amount, the texture/door handle would be flipped which is rather difficult to correct on your own

https://user-images.githubusercontent.com/1371787/170690544-75691684-0926-4cc9-8eca-b3afc3bc8242.mp4

nukeandbeans commented 2 years ago

This is a known issue. For now, mirroring on the U direction in surface mode should reliably fix the issue. (select all faces of a brush by clicking on the brush in the hierarchy window)

SK83RJOSH commented 2 years ago

Cheers thanks for the quick fix ^^

nukeandbeans commented 2 years ago

I'm looking into a proper fix for this, but it may take a bit. Still finding where the problem is.