Karuzo Posted July 23, 2014 Share Posted July 23, 2014 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
50p Posted July 23, 2014 Share Posted July 23, 2014 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
Karuzo Posted July 23, 2014 Author Share Posted July 23, 2014 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now