PGD Home

P-172: Unity: Space Environment: Part 17

by on Oct.09, 2016, under Art and Designs, P-0, Software and Games, Spiritus Astrum

I have followed a simple tutorial (HERE) to make a mirror in unity.

This worked out well, and I also learned a little about Unity’s shader system in the process. It seems to use it’s own proprietary language called “Shaderlab”, but does allow for Cg shaders to be written within it.

I wrote the shader for my Spherical Terrain project in HLSL, so this will need to be ported, but it is quite simple, so it shouldn’t be a problem. It may actually be easier to write it in “Surface”, because I then wouldn’t need a separate Vertex and Pixel shader file.

Again, the shader system in Unity seems very easy to learn and use, which is encouraging.

Unity 09/10/2016 , 11:52:02 PM Unity Personal (64bit) - P0Lab2.unity - New Unity Project - PC, Mac & Linux Standalone*

Unity
09/10/2016 , 11:52:02 PM
Unity Personal (64bit) – P0Lab2.unity – New Unity Project – PC, Mac & Linux Standalone*

Unity 09/10/2016 , 11:52:08 PM Unity Personal (64bit) - P0Lab2.unity - New Unity Project - PC, Mac & Linux Standalone*

Unity
09/10/2016 , 11:52:08 PM
Unity Personal (64bit) – P0Lab2.unity – New Unity Project – PC, Mac & Linux Standalone*

 

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!