Lightmaps Part II

Continuing on my lightmap work from the last post, I now have lightmaps working in the iPhone app. I had to fix some texture coordinate issues. In addition I forgot to uncomment out some code when taking the last posts pictures, the lighting only took into account the attenuation and not the surface normals. In addition I had to get multi-texture working in the iPhone engine as well as modifying the shaders.

Lightmaps are applied with a 2x multiplier, which allows the lighting hotspots to actually brighten up the textures, which helps give the surfaces more contrast.

These screenshots were taking directly off the iPhone:

Next I have to add soft shadows and finally implement the radiosity solver.


~ by xlcontrol on March 27, 2010.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: