Skip to main content

Posts

Showing posts with the label graphics

KLM JETS: INCREASING VIEWING-DISTANCE WITH NO LOD-ING OR PERFORMANCE-DROP

Continuously generated levels  are not completely an unusual  technology to construct today. Nevertheless, possessing a brilliant globe, with a lot of moving objects and complete customized amount layout that also has to run on low-end mobile phones, frequently demonstrates more difficult than at first expected. On this page, one of the most advanced developers, Michiel Frankfort, describes how we tackled this for KLM Jets , Papercraft Air-O-Batics. This is what they done! [RequireComponent(typeof(Camera))] public class LowResFrustumExtension : MonoBehaviour { Awake()  { On awake we create one or multiple camera’s nested as a child into this gameobject. We then inherit all the settings found on the parent-camera component. For each camera, we assign a target RenderTexture (RT), with decreased resolution. Thanks to the custom projection-matrix, we are able to go with anamorphic (non square) pixels, allowing us to scale down the ‘width’ by a factor of 2 and the ‘he