KatsBits Community

Game Editing => 3D Modeling & Content Creation => Topic started by: pazur on June 30, 2010, 07:25:21 AM

Title: [blender] Normalmap not tiling
Post by: pazur on June 30, 2010, 07:25:21 AM
I have a pretty basic question: I added a normalmap to my material but it's a.) not tiling just like the color-map b.) it's not tiling at all

Maybe I'm doing something wrong. These are the setting I have in "Map Input": http://www.screencast.com/users/ypiotr/folders/Jing/media/9a8d9c7a-7615-4c24-aac8-6d77de13b9f6

The effect of not tiling the normalmap looks like this: http://www.screencast.com/users/ypiotr/folders/Jing/media/d88e59e5-c066-464f-8acc-724c6852f960
Title: Re: [blender] Normalmap not tiling
Post by: kat on June 30, 2010, 06:54:17 PM
Switch "Map Input" to "UV" (http://www.katsbits.com/tutorials/blender/blender-basics-unwrapping-uvw-maps.php#orco). Additionally, if this is something for game output you shouldn't really use/rely on any of the other 'Input' settings as it will give you a distorted impression of the end results when exported - using the "Size*" settings to 'tile' textures aren't used for games content (unless it's Blenders Game Engine), so reset those to "1.00" (and "0.00" for "ofs*") as they're not exported.

Oh and you'll also need to make sure each texture map 'channel' uses the same settings, so all of them should be set to UV etc..
Title: Re: [blender] Normalmap not tiling
Post by: pazur on June 30, 2010, 08:25:17 PM
This window is an object I exported from the Quake Wars SDK. I want to add more details to it and render a texture from it (maybe also include "renderbump" normals).

I figured it out btw. There is a button saying "repeat": http://www.screencast.com/users/ypiotr/folders/Jing/media/40c294e1-6970-4fbb-a926-678ec1a88554
Title: Re: [blender] Normalmap not tiling
Post by: kat on June 30, 2010, 08:55:48 PM
That just affects repeat in Blender rather than on game models so you'll need to scale the UVW 'correctly' relative to the texture size as explained here (http://www.katsbits.com/tutorials/blender/scaling-materials-and-resizing-texture-uvw-maps-on-models.php). Texture scale on models is done by UVW maps.
Title: Re: [blender] Normalmap not tiling
Post by: pazur on July 01, 2010, 09:06:02 AM
Good to know. Thanks!

Do you think I will need to for the "renderbump" method (http://www.katsbits.com/tutorials/blender/baking-normal-maps-from-models.php) ?
Title: Re: [blender] Normalmap not tiling
Post by: kat on July 01, 2010, 03:16:30 PM
For 'renderbump', material settings don't matter as again it's all related to the UVW map - normal baking uses the UVW map as a kind of 'paint-by-numbers' area into which it paint the normalised colours. So, you need to make sure you've laid the UVW map out as best as possible.
Title: Re: [blender] Normalmap not tiling
Post by: pazur on July 02, 2010, 02:19:37 AM
Cool. Thanks