Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Amazing shaders! Is there a way to modify the time of, for example, the AnimatedAberration? I don't know much about shaders. I saw a u_time variable, and I tried many things but couldn't make it work.

Excelent job, thank you so much!

PD: I was able to do it using normal animation methods, using StillAberration! Thanks!

(1 edit) (+1)

Yep!  So nearly any property that is supplied by the transform can be animated using the animation command. Good job on figuring out a way forward on it!

Ironically, it's harder to animate AnimatedAberration than it is to animate the still version of it from the outside.  AnimatedAberration takes u_time into consideration, which is a uniform property that is representative of ongoing time.  If you were able to set u_time to a constant value, it would.. actually stop animating!  The changing of u_time as supplied by RenPy and the shader's uptime is actually driving that one's particular animation.

You could still animate Animated Aberration from the outside, but you'd only be able to animate the other exposed properties, and it probably would be hard to fine tune the appearance because the animation is baked into the shader itself for that one.  

It was smart to go to the still version of it, because now you have significantly more control over how it behaves from the outside using the animation commands in RenPy.  What you're doing is changing the values supplied by the transform directly, rather than having the shader calculate the latest step there.

I'd love to see how you did it, and I'm sure some other folks would too if you'd like to share.

(4 edits) (+1)

I was able to make something like this, thanks to the shaders; thanks!

c0f0fba7d1702267fdc2bc59963ccbd8 from Komisari on Vimeo.

(The video looks kinda buggy)

To animate it, I basically did this;


Ignore the function thing. That's basically it!
I'll keep using the shaders on other displayables, thanks!