Shader only works sometimes

Having a problem with a shader or texture
Post Reply
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Shader only works sometimes

Post by RedSnappa »

This shader:

Code: Select all

   qer_editorimage textures/cerulean_alpha13/flame1.tga
   qer_trans 0.5
   q3map_surfacelight 512
   surfaceparm noimpact
   surfaceparm nolightmap
   surfaceparm nomarks
   surfaceparm nonsolid
   surfaceparm trans
   cull none
      animMap 16 textures/cerulean_alpha13/flame1.tga textures/cerulean_alpha13/flame2.tga textures/cerulean_alpha13/flame3.tga textures/cerulean_alpha13/flame4.tga textures/cerulean_alpha13/flame5.tga textures/cerulean_alpha13/flame6.tga textures/cerulean_alpha13/flame7.tga textures/cerulean_alpha13/flame8.tga
      rgbGen identity

gives me a nice animated flame if I do a bsp compile, but when I compile the vis and light phases, it stops working and gives me a static picture of a fire. What is going on and how do I fix it?

All images are .tga files with alpha channels.
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

User avatar
Posts: 277
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway

Re: Shader only works sometimes

Post by DagF »

Do you get any errors while compiling?

Post Reply