John_Scott Posted December 18, 2013 Share Posted December 18, 2013 Hi, I would like to create blurred screen to my server in the login panels's background. my login panel is a GUI window, and when it show, the camera is set to a matrix. I like to set the camera screen to blurred, like FFS. How i can make this with an fx? Thanks for help! Link to comment
Driggero Posted December 18, 2013 Share Posted December 18, 2013 Believe you can do this with shaders, though I don't know the exact method. Could also screencap the image and then manually blur it and draw it later with dxDrawImage. However, the best solution would be to be original Link to comment
myonlake Posted December 18, 2013 Share Posted December 18, 2013 Indeed you can do it with shaders. You can use the horizontal and vertical blur effect shaders found from a couple shader resources. That will get you started on it. Link to comment
mint3d Posted December 18, 2013 Share Posted December 18, 2013 You could also think about finding a image like a blurred background and do it like guiCreateStaticImage Link to comment
myonlake Posted December 19, 2013 Share Posted December 19, 2013 That's not what he's looking for. He wants to blur something real-time. Link to comment
John_Scott Posted December 19, 2013 Author Share Posted December 19, 2013 Okay, i use an blurred image, but how i can get my camera's current position, and picture without all HUD? Link to comment
PaiN^ Posted December 19, 2013 Share Posted December 19, 2013 To get the camera's position you'l need to use getCameraMatrix . Then, hide the HUD using showPlayerHudComponent . And take the pic using takePlayerScreenShot . Link to comment
John_Scott Posted December 19, 2013 Author Share Posted December 19, 2013 Thanks for everyone, i made sucessfull. When you want to check: mtasa://37.17.173.26:22003 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