Author: RTCW Language: text
Description: pak0/mp_pak0 common.shader is broken Timestamp: 2013-05-31 19:56:03 +0000
View raw paste Reply
  1. textures/sfx/portal3a_back2
  2.  
  3. {
  4.     surfaceparm nolightmap
  5.     deformVertexes wave 100 sin 0 2 0 0.5
  6.     portal
  7.     {
  8.         //This blend function is not working on RagePro drivers Mac only
  9.         //when it is used on top of portals
  10.         map textures/sfx/portal_sfx3.tga
  11.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  12.         depthWrite
  13.     }
  14.     {
  15.         map textures/sfx/portal_sfx1.tga
  16.         blendFunc GL_DST_COLOR GL_ZERO
  17.    //     tcMod rotate 360azz    } //<------------------------ ZTM: ug, unclosed stage eats all following shaders (including ones in other files) in q3 shader loader. rtcw loads shaders inside other shaders so it works.
  18.     {
  19.         map textures/sfx/portal_sfx.tga
  20.         blendFunc GL_ONE GL_ONE
  21.         rgbGen wave inversesawtooth 0 0.5 0.2 0.5
  22.     }
  23.     {
  24.         //* sin 0 .5 0 1
  25.         map textures/sfx/portalfog.tga
  26.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  27.         rgbGen identityLighting
  28.         alphaGen portal 24
  29.        // tcMod turb 0 1 0 1
  30.        // tcMod rotate 0.1
  31.        // tcMod scroll 0.01 0.03
  32.     }
  33. }
  34.  
View raw paste Reply