ladiszlai Posted May 11, 2016 Share 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 } } Link to comment
mrwonko Posted May 11, 2016 Share Posted May 11, 2016 Maybe you disabled details in SP? Link to comment
ladiszlai Posted May 11, 2016 Author Share Posted May 11, 2016 Maybe you disabled details in SP?No, My details are in "very high" Link to comment
Xycaleth Posted May 11, 2016 Share 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. Link to comment
ladiszlai Posted May 11, 2016 Author Share 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 ? Link to comment
ladiszlai Posted May 11, 2016 Author Share 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. Link to comment
Ramikad Posted May 11, 2016 Share Posted May 11, 2016 It's working in SP for me. Try packing it in a .pk3. Link to comment
Solution eezstreet Posted May 11, 2016 Solution Share Posted May 11, 2016 Have you tried enabling r_dynamicglow in SP? yeyo JK and ladiszlai like this Link to comment
ladiszlai Posted May 11, 2016 Author Share Posted May 11, 2016 Have you tried enabling r_dynamicglow in SP?Thank you, that was the problem. 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