Building SOT part 2

August 17, 2017

World creation: Part 2

Using Unity terrain
Unity terrain can't be rotated, and as such can't be made to be upside-down; Something which I need for SOT. As such I want to render a mirror world using a second camera.
Attempt  #1: Using RenderTexture
This method uses a plane and a texture created by an orthographic camera above the world. The performance is fine on mobile, but the downside is that the reflection looks incredibly flat. Maybe I should experiment with a non-orthographic camera?

 

Attempt #2 Using a mirrored camera & viewport editing.

As you can see in the gif above, this looks pretty cool, but I'd have to fix the scaling issue that happens due to the width and height relation.

The solution will probably involve a combination of the two, having the mirror camera from #2 and rendering it on a plane like #1.
 

 

Share on Facebook
Share on Twitter
Please reload

Uitgelichte berichten

I'm busy working on my blog posts. Watch this space!

Please reload

Recente berichten

October 26, 2018

October 25, 2018

October 23, 2018

May 30, 2018

Please reload

Archief
Please reload

Zoeken op tags

I'm busy working on my blog posts. Watch this space!

Please reload

Volg ons
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square