Proland To Unity

by Scrawk

A port of Proland to Unity

( Crawled 2 hours ago )


This is a partial port of Proland to Unity. Proland is quite a large and complicate program and I have trimmed this down quite a lot to just its core elements. The core terrain, atmosphere and ocean components have been ported.

A key part of Proland is its ability to render large planets using some special techniques to calculate the clip space positions in the vertex shaders to minimize precision issues. This means I have had to do a lot of low level handling of projection and view matrices. This has caused a lot of problems as Unity modifies these matrices behind the scenes to support some platforms and features.

Its made keeping this up to date with the latest version of Unity quite difficult and at the moment it will only work in version 5.5 of Unity. Its also not a good way to use Unity but it made porting this much easier. I might change this in the future to use Unity's default matrices.

The atmosphere is done using the same method in the previous Brunetons atmospheric scattering project (one of the Authors of Proland). This means the atmosphere uses precomputed tables that need to be generated. There are some provided but if you want to recreate them I have added a editor window. Go to Windows->Proland->Create Atmosphere Tables to do so.

This project is currently only working in Unity 5.5

See home page for more information.