The shader effects now work correctly on the scene actors, but the application of shaders should be on the animation class.
This commit is contained in:
parent
22db12f5e4
commit
05fc9062a7
11 changed files with 33 additions and 16 deletions
|
|
@ -29,7 +29,7 @@ namespace cinematic {
|
|||
}
|
||||
|
||||
Camera::Camera(sf::Vector2f size) :
|
||||
anim(MGR.animations.at("dolly")),
|
||||
anim(MGR.animations.at("pan")),
|
||||
size(size),
|
||||
base_size(size),
|
||||
aimed_at{size.x/2, size.y/2},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue