Jump to content

Shader with shadows on the brush - but it is transparent too.


Recommended Posts

It is possible to get something to be at around 50% opacity, but i've never met an option to adjust the scale of it. I have some ghost/hologram skins which use semi-transparency, but the scale of it seems uncontrollable. 

Link to comment

 

RWNzNOV.jpg

 

textures/abc/qwerty
{
    {
        map textures/abc/qwerty
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        depthWrite
        alphaGen const 0.8
    }
}

I did something like that.

@Edit oh I get it. I don't think you can have shadows on transparent texture.

Edited by Grab
Link to comment

I get the effect that i think look decent enough (some texture work and shaders) but i will not paste here the shader because it is not a answer for this question. 
 

 

 

RWNzNOV.jpg

 

textures/abc/qwerty
{
    {
        map textures/abc/qwerty
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        depthWrite
        alphaGen const 0.8
    }
}

I did something like that.

@Edit oh I get it. I don't think you can have shadows on transparent texture.

 

It is possible to get something to be at around 50% opacity, but i've never met an option to adjust the scale of it. I have some ghost/hologram skins which use semi-transparency, but the scale of it seems uncontrollable. 

 

Thanks for replies!

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...