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
  Screenshots of what you're doing. CuBe0wL 2,651 2,081,556 02-29-2024, 12:56 PM
Last Post: TheMatrix
Photo Morphed's used brushes for weapon and item model texturing LegendGuard 0 1,709 11-30-2022, 12:32 PM
Last Post: LegendGuard
  How to import Weapon Models? NoClue 6 3,416 12-23-2020, 10:26 AM
Last Post: Julius
  [NEED HELP] NetRadiant Weapon Respawn 3agle427 2 2,550 01-05-2019, 06:22 PM
Last Post: 3agle427
  Per Weapon Effect Brushes? Antares* 2 2,800 10-15-2017, 07:22 AM
Last Post: Julius
  Videos of what you're doing. FruitieX 134 152,761 04-01-2017, 04:50 AM
Last Post: SpiKe
  Xonotic shader manual and tools? Binaryshi 6 6,050 07-22-2015, 12:12 PM
Last Post: tZork
  Can I Make an Edge Shader? MrDetonia 3 4,452 04-16-2015, 02:30 AM
Last Post: zeeshan002
  Shader Issues With Q3A Texture Replacement Packs Orbiter Sunblast 2 5,143 09-06-2013, 03:51 PM
Last Post: Orbiter Sunblast
  Inline GLSL in Q3 shader files? poVoq 3 4,228 06-16-2013, 11:51 AM
Last Post: poVoq

Forum Jump:


Users browsing this thread:
1 Guest(s)

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