Quake3World.com Forums
     Level Editing & Modeling
        Shader problem


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Shader problem

Veteran
Veteran
Joined: 05 Dec 2015
Posts: 199
PostPosted: 01-26-2016 04:11 PM           Profile Send private message  E-mail  Edit post Reply with quote


This shader gives me "unknown parameter e8jumpspawn02c-2 in shader e8jumpspawn02c". Here is the shader code:
Code:
textures/e8/e8jumpspawn02c
{
   q3map_lightimage textures/e8/e8jumpspawn02c_glow.tga
   surfaceparm metalsteps
   q3map_surfacelight 100
   
   {
      map textures/e8/e8jumpspawn02c
      animmap 10 textures/e8/e8jumpspawn02c textures/e8/e8jumpspawn02c-1
      textures/e8/e8jumpspawn02c-2 textures/e8/e8jumpspawn02c-3 textures/e8/e8jumpspawn02c-4
      textures/e8/e8jumpspawn02c-5 textures/e8/e8jumpspawn02c-6 textures/e8/e8jumpspawn02c-7                                     textures/e8/e8jumpspawn02c-8 textures/e8/e8jumpspawn02c-9 textures/e8/e8jumpspawn02c-10                                textures/e8/e8jumpspawn02c-11 textures/e8/e8jumpspawn02c-12 textures/e8/e8jumpspawn02c-13                             textures/e8/e8jumpspawn02c-14 textures/e8/e8jumpspawn02c-15 textures/e8/e8jumpspawn02c-16                                 textures/e8/e8jumpspawn02c-17 textures/e8/e8jumpspawn02c-18 textures/e8/e8jumpspawn02c-19                                 textures/e8/e8jumpspawn02c-20
   }
   {
      map $lightmap
      tcGen lightmap
      blendfunc filter
   }
}




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 01-26-2016 09:09 PM           Profile Send private message  E-mail  Edit post Reply with quote


You have specified both a map AND animap texture source in the same stage.

Second, you have too many frames. Animap supports up to 8 frames.

Third, list your frames separated by a single space only.

See here:
http://q3map2.robotrenegade.com/docs/sh ... s.html#map



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Veteran
Veteran
Joined: 05 Dec 2015
Posts: 199
PostPosted: 01-27-2016 05:54 AM           Profile Send private message  E-mail  Edit post Reply with quote


The formatting was screwy when I uploaded the code... I had them with just one space...




Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.