Page 1 of 1

tex_address_mode mirror in normalmap

Posted: Fri Nov 15, 2024 7:36 pm
by jordiperezarti

In the material definition i set tilling repeat usinr mirror:

tex_address_mode mirror

the texture_unit does it well, but the normalmap is not adquiring the tex_address_mode mirror
how can i solve this?

material floor
{
technique
{
pass
{
texture_unit
{
texture floor_diffuse.PNG
tex_address_mode mirror
}

Code: Select all

		rtshader_system
		{
           			lighting_stage normal_map floor_normalmap.PNG
		}
	}
}

}


Re: tex_address_mode mirror in normalmap

Posted: Sat Nov 16, 2024 12:35 am
by paroj

Re: tex_address_mode mirror in normalmap

Posted: Sat Nov 16, 2024 10:12 am
by jordiperezarti

lighting_stage normal_map floor_normalmap.PNG object_space

makes the texture coords be fine with the mirror propertie.
But the integrated shadows disappears, when was running with the normalmap tangent_space