Bumpmapping bug

New releases and general discussions.

Post » Wed Apr 23, 2008 4:10 pm

I tried adding bump map to my tank object, it worked great. I set it to always follow, always have the same angle when my tank moves. One problem though is when I rotate this giant square of white keeps resizing around the tank, looks weird.

Anyone else get this? Am I doing something wrong?
Scirra Founder
B
181
S
42
G
34
Posts: 4,438
Reputation: 54,809

Post » Wed Apr 23, 2008 4:13 pm

From Bumpmapping:

[quote:367j6rha]...normal maps cannot be rotated, since the 3D data is only valid for an angle of 0 degrees. If you want to apply bumpmapping to a rotating object, you can only use heightmapping.[/quote:367j6rha]

i.e. use a height map and the Heightmapping shader for rotating lighting.
Scirra Founder
B
414
S
245
G
92
Posts: 25,198
Reputation: 200,337


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests