FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   ST:EF Problems, Errors and Help (http://forums.filefront.com/st-ef-problems-errors-help-11/)
-   -   Warning! Shader has lightmap but no lightmap stage! (http://forums.filefront.com/st-ef-problems-errors-help/221189-warning-shader-has-lightmap-but-no-lightmap-stage.html)

crackpatch October 18th, 2005 01:15 AM

Warning! Shader has lightmap but no lightmap stage!
 
Warning! Shader has lightmap but no lightmap stage!

That's the error I get when I load my HM_DN2X level in ef, it's the thatnporter red glow shader from dreadhtnought CTF level...

How do I get a lightmap stage on my map?
PLZ help!!!

tman77 October 18th, 2005 02:27 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
Basicly a shader HAS to have a lightmap stage if you want it to be affected by the lighting of your map. If you dont need a texture to be lightmaped you can specify NOLIGHTMAP in the surface params.

If your not using it I recomend using Q3ase shader editor.This program makes learning how to work with shaders a bit easier http://www.bpeers.com/software/q3ase/q3ase.zip

If you need help setting it up see this thread.

http://forums.filefront.com/showthre...74#post1086774

Once you get it set up open a shader from the game and you can see some of the examples of lightmap stages.

crackpatch October 18th, 2005 03:32 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
well the problem is: in ctf_dn1 there's no error, and ofcourse the shader works fine there....but not in my map :(

tman77 October 18th, 2005 07:53 PM

Re: Warning! Shader has lightmap but no lightmap stage!
 
Whats the name of the shader? Did you copy this shader into your own shader and change part of it?

crackpatch October 19th, 2005 12:46 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
I didn't do anything about shaders, I just opened the hm_dn2 and later opened ctf_dn1, sleceted the transporter and saved the transporter as prefab which I added in the hm_dn2 and saved as hm_dn2x

What must I do with shaders then?
Must I make another .shader file?

[EDIT]
This is that transporter glow shader thing. in the forge shader:
Code:

textures/forge/energything
{
        cull disable
    surfaceparm nolightmap
    surfaceparm trans
        surfaceparm nomarks
    {
        map textures/forge/energything.tga
        blendFunc GL_ONE GL_ONE
        rgbGen wave sin 0.65 0.35 0 1
    }
    {
        map textures/forge/energything2.tga
        blendFunc GL_ONE GL_ONE
        tcMod scroll 562 0
    }
}

And GTKradiant says: WARNING: Activate shader failed for textures/forge/energything_nonsolid

tman77 October 19th, 2005 01:26 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
Did you change any of the textures on your prefab? You might have applied a texture instead of a shader to your prefab, Its hard to know whats going on without seeing your map.If you attatch your map on this thread I'll download it and take a look if you want.

crackpatch October 19th, 2005 02:32 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
1 Attachment(s)
Here's the .map file...I still don't know why it doesn't work..no textures changed or what so ever :confused:

Ronnie October 19th, 2005 02:41 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
I don't really feel like helping negative people but being the nice guy that I am...Did you compile the map with the shader included? Otherwise it's not going to work.

tman77 October 19th, 2005 03:07 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
1 Attachment(s)
I dont understand how it went wrong if you just copied and pasted those brushes but It looks like you applied the wrong texture. instead of energything you applied energything_nonsolid.I fixed it for you (I think)
Compile it and see what happens.

Also, shaders have a white line around them in the texture view window in GTKradiant.If they dont have that white line they are not shaders.

crackpatch October 19th, 2005 03:36 AM

Re: Warning! Shader has lightmap but no lightmap stage!
 
Hey thanx dude I must be really dumb not to grab the glow texture but I already see the glow stuff in the editor (but didnt see in ctf_dn1 though... (that's y i thoguht everything was good)

compiling now and you will be creditted for this :)

hmm didnt work :confused:

Ah well you know what?, I'll just make a MD3 model with that shader on it, at it's sure I shoot trought it and I walk trough it :D


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.