x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UMG Movement Jitter

Hey there,

I recently added some UMG's that pop up to show damage done to an enemy. I followed this tutorial to do it...

https://forums.unrealengine.com/showthread.php?50130-UMG-Tutorial-Placing-Widgets-Over-Actors-In-Screenspace

My issue is that when the UMG is moving around the screen as the player continues on running around there is a noticable jump as the umg goes from one pixel to the next as if it isn't properly blending the image when it is "bewteen" two pixels. I think i've seen something similar to this before inside Adobe After Effects and was called sub pixel interpolation or something to that name but I have no idea how I would fix that within UMG.

Thanks for reading!

Product Version: Not Selected
Tags:
more ▼

asked Feb 27 '15 at 02:55 PM in Everything Else

avatar image

mrcrocker
126 8 20 25

avatar image ziga.osolin Mar 31 '15 at 09:22 PM

We are having similar issues with our UI, with noticable pixel pops left and right. Does anyone have a solution for that?

avatar image bigzer Jun 02 '16 at 05:31 AM

We've been hoping to see a solution for this issue for a while. Epic could you look into it one of these days?

avatar image geordie Jun 13 '16 at 07:29 AM

Would also love some info about plans to support subpixel rendering/compositing for UMG, the whole pixel transforms are really distracting when moving at slow speeds

avatar image Spoondog Jul 01 '16 at 06:56 AM

Have just run into this too, I'm guessing there is no workaround but would love for things to be able to move smoothly (I was going to have my menu elements jump out and then have a slow zoom but the zoom movement is all jagged).

avatar image IridiumStudios Aug 12 '16 at 03:49 AM

Bump. MAN this is rough.

avatar image mrcrocker Aug 12 '16 at 04:06 AM

I turned a blind eye to this after posting it so long a go. I saw people occasionally commented so thought to myself "I don't need to worry it will probably be fixed before the game needs to ship". It's been over a year now I am starting to sweat so...Bump

avatar image Spoondog Aug 12 '16 at 04:10 AM

It'd be nice if we could get an issue opened so we could vote for this feature.

avatar image IridiumStudios Aug 12 '16 at 04:40 AM

I'd vote the hell out of it. UMG could be everything I want it to be, but...not yet.

avatar image geordie Aug 12 '16 at 04:47 AM

+1, an issue would be great.

Feel like I've read here or there that Slate uses an integer coordinate system and that's why there's pixel snapping or something – would be interested in hearing from the team if that's true, and the reasons they had/chose to do it that way. Wonder if there's any way to have float coordinates somehow too, even if requires compiling engine from source

avatar image Spoondog Aug 13 '16 at 05:37 AM

Your comment gave me an idea for a workaround in my case - I wanted some subtle zoom happening on my menu background (you know how a lot of games it moves slowly just to get rid of that static feel?), so I made some BP logic to go through all image widgets and automatically convert them to a material, and I do the zoom by scaling the material UVs slowly in tick. No snapping there of course, so looks nice and smooth :)

avatar image StrangerGwenn Sep 05 '16 at 09:30 PM

Same problem here.

avatar image Hejden Aug 04 '17 at 08:26 AM

Same here.

avatar image AJ_Graphix Sep 25 '17 at 09:23 PM

This problem is still happening, I would love to see a bug report entered for this. Using a billboard component is super smooth, but using a Widget Component results in bad jittering, as your icon can't stay properly centered over the object as your camera rotates around it.

avatar image ZkarmaKun Sep 25 '17 at 09:49 PM

agree with AJ_Graphix, this problems had been there for a while

avatar image AJ_Graphix Sep 25 '17 at 10:00 PM

It's a bug with screen space or a limitation of UMG. Setting to world space and then updating the component to face the player in blueprint is smooth, but then the widget can be occluded.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I was able to attain something near a solution, it´s not perfect, mind you, but it is definitely an improvement. I remove the fractional part from the screen coordinates and use the result to set the position in viewport, I then use that fractional part to set a render translation. The result is a lot more bearable for me.

Hope it helps!

alt text

more ▼

answered Mar 07 '18 at 02:52 PM

avatar image

Luís
36 1 2 5

avatar image Spoondog Mar 07 '18 at 04:54 PM

Good thinking, that's a better workaround than I could come up with.

Still holding hope for proper sub-pixel interpolation in UMG from Epic, so that we can use the built-in UMG animations to move things nicely.

I suppose it might be possible to hack UMG animations to use your workaround too - pre-run the animations on startup, record your own key frames (maybe) and do some fractional interpolation yourself concurrently when the UMG animation is run. Maybe. Lol

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Just ran into this problem myself, the solution is easier than you think.

Create a material with the image in it, then move the image around using it's texturecoordinate. You can easily set material params using this (This is from C++ but im sure Blueprint nodes are the same)

Image > GetDynamicMaterial > SetScalarParameterValue

more ▼

answered Jul 06 '18 at 04:34 PM

avatar image

Juice-Tin
152 38 37 45

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question