Jump to content

auto sprite shader had odd vertex count - what is this?


Go to solution Solved by Xycaleth,

Recommended Posts

Posted

I made a small holograms of the planets but the textures of them are 512 x 512. I compile the map and this error shows up. How to fix it?

 

 

Posted

t

extures/mus/light1
{
    surfaceparm    trans
    q3map_alphashadow
    cull    twosided  
{
        map textures/mus/light1
        blendFunc GL_ONE GL_ZERO
        rgbGen lightingDiffuse
    }
    {
        map textures/mus/light1
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen identity
    }
}

textures/mus/light2
{
    surfaceparm    trans
    q3map_alphashadow
    cull    twosided  
    {
        map textures/mus/light2
        blendFunc GL_ONE GL_ZERO
        rgbGen lightingDiffuse
    }
    {
        map textures/mus/light2
        blendFunc GL_ONE GL_ONE
        glow
        rgbGen identity
    }
}

textures/mus/foger
{
    qer_editorimage    textures/mus/foger
    surfaceparm    nonsolid
    surfaceparm    nonopaque
    surfaceparm    fog
    surfaceparm    trans
    q3map_nolightmap
    fogparms    ( 85 83 174 ) 25000.0
}

textures/mus/plan1
{
    qer_editorimage    textures/mus/plan1
    qer_trans    0.4
    surfaceparm    nonopaque
    surfaceparm    nonsolid
    surfaceparm    trans
    q3map_material    Glass
    deformvertexes    autoSprite
    cull    twosided
    {
        map textures/mus/plan1
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    alphaGen const 1
    glow
    }
}

textures/mus/plan2
{
    qer_editorimage    textures/mus/plan2
    qer_trans    0.4
    surfaceparm    nonopaque
    surfaceparm    nonsolid
    surfaceparm    trans
    q3map_material    Glass
    deformvertexes    autoSprite
    cull    twosided
    {
        map textures/mus/plan2
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    alphaGen const 1
    glow
    }
}

textures/mus/plan3
{
    qer_editorimage    textures/mus/plan3
    qer_trans    0.4
    surfaceparm    nonopaque
    surfaceparm    nonsolid
    surfaceparm    trans
    q3map_material    Glass
    deformvertexes    autoSprite
    cull    twosided
    {
        map textures/mus/plan3
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    alphaGen const 1
    glow
    }
}

textures/mus/plan4
{
    qer_editorimage    textures/mus/plan4
    qer_trans    0.4
    surfaceparm    nonopaque
    surfaceparm    nonsolid
    surfaceparm    trans
    q3map_material    Glass
    deformvertexes    autoSprite
    cull    twosided
    {
        map textures/mus/plan4
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    alphaGen const 1
    glow
    }
}

 

Look at the plan - texture types because they make an errors.

Posted (edited)

I made a small box . On one side i add a planet texture (but with shader! ) and other part of box is nodraw.

And yeah i make it a cube box

Edited by Langerd

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