Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Shader only works sometimes

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

Shader only works sometimes

Postby RedSnappa » Sat Apr 27, 2013 1:29 am

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: 276
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway

Re: Shader only works sometimes

Postby DagF » Mon Apr 29, 2013 6:42 am

Do you get any errors while compiling?

Return to “Shaders / textures”

Who is online

Users browsing this forum: No registered users and 1 guest