Maui Posted May 17, 2013 Share Posted May 17, 2013 Hey guys I am Maui from KoD.I am currently mapping a clan map for the clan but I got a problem.I don't know how shaders work and how to get them to work. I've made a lava shader which is able to be opened with shadered2 but when I load it in gtkradiant it gives me 5 other shaderlike files (texture_1, texture_2, etc)Also when I test the shader ingame, the effects won't occur. Like I made it glow and giving surfacelight and it should move, but it doesn't do it. Any help? Link to comment
Corto Posted May 17, 2013 Share Posted May 17, 2013 You could start by posting the shader file text in here. That will give us a good starting place. Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 textures/lava/lavamove{qer_editorimage textures/academy/lava.jpgq3map_surfacelight 600qer_nocarvesurfaceparm noimpactsurfaceparm lavasurfaceparm transq3map_nolightmapq3map_globaltexturecull twosided { map textures/lava/lava.jpg blendFunc GL_ONE GL_ZERO rgbGen identity tcMod scale 0.1 0.1 tcMod scroll 0.04 0.03 tcMod turb 0 0.05 0 0.01 } { map textures/lava/lava.jpg glow tcMod turb 0 0.15 0 0.1 }}Thank you for the fast reply! Link to comment
eezstreet Posted May 17, 2013 Share Posted May 17, 2013 It's been 47 minutes between your posts. Chill, bro. ChalklYne likes this Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 It's been 47 minutes between your posts. Chill, bro.I know, but I really want the help, but it seems like nobody is at the pc or even wanting to help me :3I really want to know how to use the shaders Link to comment
mrwonko Posted May 17, 2013 Share Posted May 17, 2013 Is the shader in the shaderlist? Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 Yes that's the thing, I can see it in gtkradiant when i start it as administrator. But I cannot see the shader effects ingame. So it stays just like a normal texture (dark, not enlighted, no movements in the texture). Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 Well that's a website i got saved on my pc too, but i just want to know why it aint working ingame?I copied this shader from another site and adapted it so it would use my .jpg file. Also it doesn't save the shader as "lavamove" name. Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 It says nothing, it loads problemless.It gives me no errors or warnings. Link to comment
Maui Posted May 17, 2013 Author Share Posted May 17, 2013 Thank you for your help!It worked! <3 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