Jump to content

Shaking HUD(SHADERS)


Karuzo

Recommended Posts

Hey Guys,

So i need your help.

I'm trying to let my hud shake like the hud in bf3 for instance.

But my problem is i can't really do the without shaders. And im not really into shaders, 'cuz i never used them tho.

So is there anyway to do this without shaders(i think not) and if not could someone give me just a small example how a shader for this would look like.

Link to comment

If you're drawing your own HUD with DX functions then you can create a render target and render all your HUD on it. Then draw the render target. When you need to shake it then you just wiggle the position of the entire render target. No shaders needed.

Link to comment
If you're drawing your own HUD with DX functions then you can create a render target and render all your HUD on it. Then draw the render target. When you need to shake it then you just wiggle the position of the entire render target. No shaders needed.

Ah yeah idk why i didn't come up to that.

Thanks i'll give it a try.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...