Author Topic: Radiant pissing me off  (Read 2357 times)

nubcake

  • Posts: 529
  • Turrets: +49/-85
Radiant pissing me off
« on: July 13, 2010, 05:07:19 pm »
So for some reason, radiant or my trem (im guessing radiant though) decides that any shader I use is now a texture, or at least misses the texturing part.

So the last 3 shaders I have made dont appear in game. For example

 
Quote
textures/church/shaderlab_terrain_sky_s      //THIS ONE WORKS, ALWAYS HAS
{
   qer_editorimage textures/church/shaderlab_terrain_sky_arc_masked.tga
   
   q3map_sunExt 0.5 0.37 .30 60 230 60 2 1
   
   q3map_lightRGB 0.7 0.8 1.0
   q3map_lightmapFilterRadius 0 64
   q3map_skyLight 90 3
   
   surfaceparm sky
   surfaceparm noimpact
   surfaceparm nolightmap
   
   skyparms textures/church/shaderlab_terrain_env/sky 1024 -
   
   nopicmip
   nomipmaps
   
   {
      map textures/church/shaderlab_terrain_sky_clouds.tga
      tcMod scale 3 3
      tcMod scroll 0.005 -0.0125
      rgbGen identityLighting
   }
   {
      map textures/church/shaderlab_terrain_sky_arc_masked.tga
      blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
      tcMod transform 0.25 0 0 0.25 0.1075 0.1075
      rgbGen identityLighting
   }
}

textures/church/shaderlab_terrain_sky_b   //THIS ONE WORKS, ALWAYS HAS
{
   qer_editorimage textures/FirstContact/shaderlab_terrain_sky_arc_masked.tga
   

   
   surfaceparm sky
   surfaceparm noimpact
   surfaceparm nolightmap
   
   skyparms textures/FirstContact/shaderlab_terrain_env/sky 1024 -
   
   nopicmip
   nomipmaps
   
   {
      map textures/church/shaderlab_terrain_sky_clouds.tga
      tcMod scale 3 3
      tcMod scroll 0.005 -0.0125
      rgbGen identityLighting
   }
   {
      map textures/church/shaderlab_terrain_sky_arc_masked.tga
      blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
      tcMod transform 0.25 0 0 0.25 0.1075 0.1075
      rgbGen identityLighting
   }
}

//MY NEW ONE I MADE TODAY, DOESN’T WORK, In trem comes up with error (Trying to find textures church/shaderlab_terrain_sky_c.TGA)

textures/church/shaderlab_terrain_sky_c
{
   qer_editorimage textures/FirstContact/shaderlab_terrain_sky_arc_masked.tga
   surfaceparm noimpact
   surfaceparm nolightmap
   q3map_globaltexture
   q3map_lightsubdivide 512
   q3map_surfacelight 40
   surfaceparm sky
   q3map_sun 0.937252 0.932634 1.000000 50 30 45.69
   skyparms textures/FirstContact/shaderlab_terrain_env/sky 1024 -
    {
    map textures/church/shaderlab_terrain_sky_clouds.tga
    blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    tcMod scale 3 3
    tcMod scroll 0.003 0.005
   }
   {
      map textures/church/shaderlab_terrain_sky_clouds.tga
      blendFunc GL_SRC_ALPHA GL_ONE
      rgbGen wave triangle -8 9 0.33 0.137
      tcMod scale 2 1
      tcMod scroll 0.002 -0.0025
   }
}

It has done this for any new shaders I have made… its very frustrating. Btw, the actual shader properties work,  but she shader has no image…