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
125
S
37
G
25
Posts: 3,945
Reputation: 44,922

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests