Sunday 12 January 2014

Refraction is Completed!

Using an additional camera and render texture from the additional camera to create the illusion of refraction solves the problem of different screen size affecting the size of the refraction. Secondly eliminating the problem with the size changing far and near , left and right.

Thus using the base codes for the normal situation for the 2D player on the normal platform and editing it to suit the current situation on the refraction glass. The refraction glass codes for the 2D player to move on the refraction glass is finally finish.

No comments:

Post a Comment