Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Weapon shader isn't doing as I'm intending to do

#1
I've a shader issue: the part of the shader of this sword (called "cyber ring") sits on top of the grip.

[Image: zsaberbladev3wipbadshading.jpg]

I'm trying to do this: ( V )
[Image: unknown.png]

The issue: it's happening that and I'm trying to avoid it ( X ):
[Image: unknown.png]

Here the shader of this weapon:
Shader code Wrote:// grip
textures/zsaberblade
{
    dpreflectcube cubemaps/default/sky
    {
        map textures/zsaberblade.tga
        rgbgen lightingDiffuse
    }
}

// edge
textures/zsaberbladeedge
{
    surfaceparm trans
    {
        map textures/zsaberbladeedge.tga
        blendfunc GL_SRC_ALPHA GL_ONE
    }
}


// edge rays
textures/electric
{
    surfaceparm trans
    {
        map textures/electric.tga
        tcMod scale 1 1
        tcMod scroll 0 0.4
        blendfunc GL_SRC_ALPHA GL_ONE
    }
}


// this thing that's on the grip, well, let's call it a "cyber ring"
textures/cyberring
{
    surfaceparm trans
    {
        map textures/cyberring.tga
        tcMod scale 1 1
        tcMod scroll 0 0.4
        blendfunc GL_SRC_ALPHA GL_ONE
    }
}



Anyone could help me, please?
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  How to import Weapon Models? NoClue 6 1,479 12-23-2020, 10:26 AM
Last Post: Julius
  [NEED HELP] NetRadiant Weapon Respawn 3agle427 2 1,693 01-05-2019, 06:22 PM
Last Post: 3agle427
  Per Weapon Effect Brushes? Antares* 2 2,162 10-15-2017, 07:22 AM
Last Post: Julius
  Xonotic shader manual and tools? Binaryshi 6 4,719 07-22-2015, 12:12 PM
Last Post: tZork
  Can I Make an Edge Shader? MrDetonia 3 3,556 04-16-2015, 02:30 AM
Last Post: zeeshan002
  Shader Issues With Q3A Texture Replacement Packs Orbiter Sunblast 2 4,400 09-06-2013, 03:51 PM
Last Post: Orbiter Sunblast
  Inline GLSL in Q3 shader files? poVoq 3 3,525 06-16-2013, 11:51 AM
Last Post: poVoq
  [WIP] Weapon Models DiaboliK 243 210,555 03-26-2013, 09:43 AM
Last Post: hutty
  Inspiration for weapon models Dokujisan 22 38,745 02-10-2013, 07:11 PM
Last Post: deoxys
  Toon shader soukaina 10 7,836 10-11-2012, 12:04 PM
Last Post: rocknroll237

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-