Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client
- addEventHandler("onClientResourceStart",resourceRoot,function()
- local myShader,tecName = dxCreateShader("shader.fx")
- local myImage = dxCreateTexture("mm.png")
- dxSetShaderValue(myShader,"Tex",myImage)
- engineApplyShaderToWorldTexture(myShader,"panlantic_128")
- end)
- shader.fx
- texture Tex;
- technique shit
- {
- pass P0
- {
- Texture[0] = Tex;
- AlphaBlendEnable = TRUE;
- }
- }
Add Comment
Please, Sign In to add comment