Jump to content

Having some trouble with Saber Color


Go to solution Solved by Daedra,

Recommended Posts

Basically I am trying to darken the default purple color completely without any .sab enhancements.

 

I have the textures perfect but for some reason the original default light purple color shines through the dark purple making it look horrible.

 

This is what I have on its shader:

 

 

 

gfx/effects/sabers/purple_glow
{
    cull    twosided
    {
        map gfx/effects/sabers/purple_glow2
        blendFunc GL_DST_ALPHA GL_SRC_ALPHA
        rgbGen vertex
        alphagen vertex
    }
}

gfx/effects/sabers/purple_line
{
    cull    twosided
    {
        map gfx/effects/sabers/purple_line
        blendFunc GL_ONE_MINUS_DST_ALPHA GL_SRC_COLOR
        rgbGen vertex
        alphagen vertex
    }
}

 

 

 

Any help on how I can fix this?

 

To note I must keep the Alphas how they are

Link to comment

Why create a purple_glow2 when you can just replace the default one? Then you don't need to touch the shader.

 

Because the core must be as a black saber with the dark purple glow, but the default light purple still shows on the glow in-game, taking over the dark purple.. so I would need a way of doing this

The Punisher likes this
Link to comment

Why create a purple_glow2 when you can just replace the default one? Then you don't need to touch the shader.

 

@@Circa

 

See here:

 

f5607c30b262490122721adb0292c73a.png

 

On the right, the normal stances etc are fine.

 

Now look on the left.. the glow on the stick allows the glow on the floor to pass through it, changing the color of the stick. Is there a fix to this?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...