Lathain Valtiel Posted October 24, 2005 Posted October 24, 2005 There is no point in overwriting sabers.shader. It is wasteful, and 3/4ths of it is just the stuff already in sabers.shader. There is absolutely no requirement to my knowledge that the RGB saber shaders need to be in sabers.shader. Hence, I suggest you axe the sabers.shader in OJP, and add this: gfx/effects/sabers/rgb_glow { cull twosided { map gfx/effects/sabers/rgb_glow2 blendFunc GL_ONE GL_ONE glow rgbGen vertex } } gfx/effects/sabers/rgb_line { cull twosided { map gfx/effects/sabers/rgb_line blendFunc GL_ONE GL_ONE rgbGen vertex } } gfx/effects/sabers/rgb_core { cull twosided { map gfx/effects/sabers/rgb_core blendFunc GL_ONE GL_ONE rgbGen identity } } gfx/effects/sabers/black_glow { cull twosided { clampmap gfx/effects/sabers/black_glow blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA glow rgbGen identity alphaGen vertex } } gfx/effects/sabers/black_line { cull twosided { clampmap gfx/effects/sabers/black_line blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen identity alphaGen vertex } } gfx/effects/sabers/blacksaberBlur { cull twosided { clampmap gfx/effects/sabers/black_trail_glow blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen identity alphaGen vertex glow } { clampmap gfx/effects/sabers/black_trail_core blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen identity alphaGen vertex } } gfx/effects/sabers/blacksaberBlurRGB { cull twosided { clampmap gfx/effects/sabers/black_trail_glow blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen vertex alphaGen vertex glow } { clampmap gfx/effects/sabers/black_trail_core blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbGen identity alphaGen vertex } } gfx/effects/sabers/saberBlur { cull twosided { clampmap gfx/effects/sabers/blurglow blendFunc GL_ONE GL_ONE glow rgbGen vertex } { clampmap gfx/effects/sabers/blurcore blendFunc GL_ONE GL_ONE rgbGen identity } } gfx/effects/sabers/swordTrail { qer_editorimage gfx/effects/sabers/blurglow nopicmip nomipmaps cull twosided { clampmap gfx/effects/sabers/swordtrail blendFunc GL_ONE GL_ONE glow rgbGen vertex } } ...to another shader file, maybe rgbsabers.shader.
razorace Posted October 25, 2005 Posted October 25, 2005 Bah, that's annoying. It wouldn't be a problem if saber modders weren't so lazy. I'll work on it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.