Jw8. Posted June 9, 2019 Share Posted June 9, 2019 shader = dxCreateShader("blur.fx") screenS = dxCreateScreenSource(sX,sY) function showShader() dxUpdateScreenSource(shader) dxSetShaderValue(shader, "ScreenSource", screenS); dxSetShaderValue(shader, "UVSize", sX, sY); dxSetShaderValue(shader, "BlurStrength", 9 ); dxDrawImage(0, 0, 1366, 768, shader) end جربت اسويه وماظبط + بلدي بق مايكتب شي Link to comment
salh Posted June 9, 2019 Share Posted June 9, 2019 (edited) جرب shader = dxCreateShader("blur.fx") screenS = dxCreateScreenSource(sX,sY) function showShader() dxUpdateScreenSource(shader) dxSetShaderValue(shader, "ScreenSource", screenS); dxSetShaderValue(shader, "UVSize", sX, sY); dxSetShaderValue(shader, "BlurStrength", 9 ); dxDrawImage(0, 0, 1366, 768, shader) end addEventHandler("onClientResourceStart",root, showShader) Edited June 9, 2019 by salh 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