A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
-
jordiperezarti
- Kobold
- Posts: 35
- Joined: Sun Sep 01, 2024 7:50 pm
Post
by jordiperezarti »
In the material definition i set tilling repeat usinr 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
}
}
}
}
-
paroj
- OGRE Team Member
- Posts: 2108
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1134
Post
by paroj »
-
jordiperezarti
- Kobold
- Posts: 35
- Joined: Sun Sep 01, 2024 7:50 pm
Post
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