Robert Haab
banner
tzupi.bsky.social
Robert Haab
@tzupi.bsky.social
"Good looking tech? Yup, that's what I like."

ᓚᘏᗢ
The widget is a full screen one, and on 4K screen that resolution was kind of justificable, but it literally had the same ornament in the corner, so why not crop one of it, and solve the rest in the material? Fortunately the UV math for a 90 degree rotation was really simple and cheap.
December 4, 2024 at 11:18 AM
Some texture practice... We are having a texture optimisation pass in our project as we have some VRAM bottleneck on consoles.
I found that texture in a widget (Dramatic reenactment because of NDA). In the original ~90% of the texture was empty, and it was a big one.
December 4, 2024 at 11:13 AM
Extra tip to end :
UI Materials are a bit funky Time-wise, and it is not using GameTime in the Editor. We had good results with that setup in the WBP
November 19, 2024 at 2:19 PM
I introduced a parameter for the play direction. It is 1 if Fade In, and 0 if Fade out.
For Fade I used a Lerp and OneMinus for switching the play direction.
For disabling the Rotation I just multiplied its local param with the IsActionVisible, effectively zeroing it if we are playing backwards.
November 19, 2024 at 2:14 PM
The rotation had a specific curve originally that I replaced with some math.
November 19, 2024 at 2:11 PM
Both features had different animation length: 350ms for the rotation sequence, and 100ms for the fadein/out.
November 19, 2024 at 2:10 PM
Reflecting to @techartaid.bsky.social post : bsky.app/profile/tech...
How to move timelines to the GPU.

The goal was to have an icon appearing on the screen, rotate it a little, and able to play that animation backwards but without rotation.
November 19, 2024 at 2:08 PM
The curves were simple enough to use simple math fortunately. That was the most complex one. But I am sure if it would get more complicated than that, I would go for curve atlases.
November 19, 2024 at 1:16 PM