Jump to content

Shader help


Recommended Posts

Posted

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?

Posted

You could start by posting the shader file text in here. That will give us a good starting place.

Posted
textures/lava/lavamove
{
qer_editorimage textures/academy/lava.jpg
q3map_surfacelight 600
qer_nocarve
surfaceparm noimpact
surfaceparm lava
surfaceparm trans
q3map_nolightmap
q3map_globaltexture
cull 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!

Posted

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 :3

I really want to know how to use the shaders

Posted

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).

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...