ladiszlai Posted May 11, 2016 Posted May 11, 2016 Greetings everybody, I created a glowing shader for my weapon model, but this only works in Multiplayer (in SP the texture doesn't glowing), somebody know why ? Here is my shader: models/weapons2/customweapon/customweapon { { map models/weapons2/customweapon/customweapon blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/weapons2/customweapon/customweapon_glow blendFunc GL_ONE GL_ONE rgbGen identity detail glow } }
ladiszlai Posted May 11, 2016 Author Posted May 11, 2016 Maybe you disabled details in SP?No, My details are in "very high"
Xycaleth Posted May 11, 2016 Posted May 11, 2016 There's a setting called "detailed shaders" which mrwonko is referring to. It'll be under advanced settings. Make sure this is enabled.
ladiszlai Posted May 11, 2016 Author Posted May 11, 2016 There's a setting called "detailed shaders" which mrwonko is referring to. It'll be under advanced settings. Make sure this is enabled.It is enabled, maybe I need to write an another shader for single player ? Or is it should work for both MP and SP ?
ladiszlai Posted May 11, 2016 Author Posted May 11, 2016 I uploaded the model (includes .sab and .shader): http://www.mediafire.com/download/buk5jl9mg9m640n/customweapon.zip (don't ask what is this model lol) you can see in multiplayer the model is glowing but in singe player it isn't.
Solution eezstreet Posted May 11, 2016 Solution Posted May 11, 2016 Have you tried enabling r_dynamicglow in SP? ladiszlai and yeyo JK like this
ladiszlai Posted May 11, 2016 Author Posted May 11, 2016 Have you tried enabling r_dynamicglow in SP?Thank you, that was the problem.
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