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?
Image Image
Scirra Founder
B
151
S
39
G
32
Posts: 4,298
Reputation: 51,774

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
378
S
220
G
84
Posts: 23,863
Reputation: 188,019


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests