Textures and Normal Maps
Textures and Normal Maps
Trying to use a normal map on a cylinder model and I just can't seem to get it lined up correctly. I sized it in photoshop to the circumference of the model and the texture is just plain white that is the same size. Not sure what I'm doing wrong. Files are attached if needed.
- Attachments
-
- Cylinder Texture Map TEST.skp
- (365.48 KiB) Downloaded 481 times
-
- Normal.png (11.94 MiB) Viewed 11125 times
-
- White.png (36.96 KiB) Viewed 11125 times
-
- Screenshot 2023-09-21 170120.png (758.81 KiB) Viewed 11125 times
Re: Textures and Normal Maps
That's because of the normal map design, it's not straight, it's curved and it's not seamless. Here, I used a normal map that is straight and seamless and it wrap the cylinder nicely...
- Attachments
-
- 2023-09-21_161858.png (608.89 KiB) Viewed 11123 times
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Textures and Normal Maps
I see what you are saying but if i size the map to the model, the seamlessness shouldn't make a difference right? It doesn't need to repeat at all just one wrap around. I don't see how the curve matters though. Are you saying that even if it was a seamless texture it wouldn't work because the pattern is curved?
Re: Textures and Normal Maps
oh I see what you mean now. You need to use the normal map in Sketchup as a texture and use a UV helper like SkeytchUV to apply the UV for a cylinder. I have done it for you and here is the skp file. When you export it to Raylectron, load the normal map for it as you did before, then load the white texture, replacing the normal map that was used as a texture since Sketchup doesn't support normal maps. We have to do it this way because the UV mapping in Raylectron is general, so it's not mapping the cylinder the way you would like. But doing it in Sketchup using SketchUV will set the UV for Raylectron to use and map it properly, as it shows in Sketchup...
- Attachments
-
- Cylinder Texture Map TEST.skp
- (12.51 MiB) Downloaded 478 times
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Textures and Normal Maps
Thank you so much! This makes total sense now!