Hi guys, I am trying to make a game like After Burner Climax for iPhone.
Since I want to save as much as resources, I just use a simply tile the uv of the main texture and normal map to let the players feel they are flying in high speed. However, I found that it is very hard to do the reflection of the sun on the ocean surface.
Here is what I want to do :
I used a point light to simulate the sun and a bumped specular shader for the ocean.
I got what I want but the game runs in 3fps in iphone…orz
I tried using the mobile/Bumped specular but I cant do a good looking effect which I want in the video above.
Then I tried to use the shaders in relective category and put some random cube maps in it (sorry, I have no idea what cube map is orz) and I got something shown below in the attachments.
After I put it in the iphone, the game runs at 20 fps with just a water plane and a default mobile skybox.
I will be very appreciated if someone can tell me how to make a good looking sun reflection just like After Burner Climax and the game can run smooth in iphone.
a cube map is a set of textures that represent how the world looks from the POV of a point in space looking in all directions.
You can use that information to simulate reflections in a limited way. ie no animation cause it is baked or, if you get the object to far away from the sampled point, the reflections no longer match.
lights can be baked in to simulate the highlight effect.
Thank you very much for answering me.
Do you have any suggestion about what shader is good for iphone to simulate ocean using cube map? (Reflective bumped specular is too heavy)
Also, what if the environment is just a paper board sky box, can I still use the cube map to achieve that beautiful sun reflection?