I’m working on a game with an Orthographic camera.
I use a plane to hold the background texture (the plane stands on it’s side).
I want to create a cool Ken Burns effect on the background.
What’s a good way to do that?
I’m working on a game with an Orthographic camera.
I use a plane to hold the background texture (the plane stands on it’s side).
I want to create a cool Ken Burns effect on the background.
What’s a good way to do that?
You mean parallax translation?
The easiest way would be to not use an orthographic camera.
I mean, the effect is the result of perspective rendering; why fake that when you can have it done automatically by a perspective camera?
If you really need to do this with an orthographic camera, try giving your plane something like this:
@RangeAttribute(0,1)
var distance = 0.5f;
private var initialOffset : Vector3;
function Awake()
{
initialOffset = transform.position - Camera.main.transform.position;
}
function Update()
{
transform.position = (Camera.main.transform.position * distance) + initialOffset;
}
Add the following post fx if you mean visually for a still pic (you should post example pics)
Maybe i did bad research work, but from what I found out, the Ken Burns effect is simply camera panning over an image and has nothing to to with the image colors…