Jump to content

My first texture-edit || EP.7 TIE Fighter (re-texture)


Recommended Posts

Hmm it maybe a stupid question but why the cockpit shade the shadow on the floor but the wings dont ?

 

Cool btw!

Well in fact, as you mentioned it now I really have no idea O.o lolz. Also I've noticed, that when I used the shader and the file "tie_fighter_spec.jpg" (even after i have changed it too), in game it shows me a missing texture on the cockpit covered all in white (the only change of the original image I have just made it black-white). While if I am using the basic/original image of "tie_fighter_spec" as it is. It will give the black cockpit a little bit of "metallic" dark-brownish color and I personally think it's not fitting really good with the rest, so I took it off for now. I can try it again and see how it looks.

 

Edit: Here is something I've noticed

Edited by dark_apprentice
Link to comment

Here is the TIE Fighter, with all textures + shader (below is the shader as it is now)

@@AshuraDX @@Zappa_0 perhaps you could say if there's something wrong again in the shader file:

 

models/players/tie_fighter/tie_fighter_body
{
    {
        map models/players/tie_fighter/tie_fighter_body
        rgbGen lightingDiffuse
    }
    {
        map models/players/tie_fighter/tie_fighter_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular
    }
    {
        map models/players/tie_fighter/tie_fighter_glow
        blendFunc GL_ONE GL_ONE
        glow
        detail
        rgbGen identity
    }
}

models/players/tie_fighter/tie_fighter_wing
{
    {
        map models/players/tie_fighter/tie_fighter_wing
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen lightingDiffuse
        depthWrite

    }
    {
        map models/players/tie_fighter/tie_fighter_wing_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular
    }
}
Link to comment

@@dark_apprentice

yeah sorry, I  just woke up and somehow failed to count the brackets, remove that extra bracket again ^^U

 

EDIT : about the shadows, try removing the depthWrite line in the wing shader entry

 

EDIT 2 : I just noticedthat again the entire wing is transparent O.o

would you mind sending your wing texture to me (don't upload to imgur - upload to sendspace, dropbox and link to it)

I just want to check your alpha channel

dark_apprentice likes this
Link to comment

@@dark_apprentice

yeah sorry, I  just woke up and somehow failed to count the brackets, remove that extra bracket again ^^U

 

EDIT : about the shadows, try removing the depthWrite line in the wing shader entry

 

EDIT 2 : I just noticedthat again the entire wing is transparent O.o

would you mind sending your wing texture to me (don't upload to imgur - upload to sendspace, dropbox and link to it)

I just want to check your alpha channel

Here are both textures, the one you send me yesterday and the one I made today with darker gray - here

 

after i removed the "depthWrite" it fixed the wing shadows, but the cockpit is till white (only the glow /of the window/ is there) and nothing is transparent now

Link to comment

Your tie_fighter_wing.tga hasn o alpha channel, that's why it's not transparent

post your shader again and check the cheat console ingame for any errors regarding the tie fighter textures - that mgiht reveal why the body appears as pure white

Link to comment

@@AshuraDX at the moment when I spawn it: npc spawn vehicle tie-fighter (the game doesn't show me anything missing).

Here is the shader:

and the PK3 as it is now

models/players/tie_fighter/tie_fighter_body
{
    {
        map models/players/tie_fighter/tie_fighter_body
        rgbGen lightningDiffuse

    }
    {

        map models/players/tie_fighter/tie_fighter_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular

   }
   {

        map models/players/tie_fighter/tie_fighter_glow
        blendFunc GL_ONE GL_ONE
        glow
        detail
        rgbGen identity
   }

}

models/players/tie_fighter/tie_fighter_wing
{
    {
        map models/players/tie_fighter/tie_fighter_wing
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen lightingDiffuse
        depthWrite

    }
    {
        map models/players/tie_fighter/tie_fighter_wing_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular
    }
}
Link to comment

@@AshuraDX Ok i have managed to restored one of the last model versions and here is what it says, when i load the TIE Fighter in game (SP) inside the console:
 

WARNING: unknown parameter 'models/players/tie-advanced/tie vader' in shader 'models/players/tie_fighter/tie_fighter_body'
Shader models/players/tie_fighter/tie_fighter_body has a stage with no image

In game screen shot  and the current shader file is...

SHADER:

models/players/tie_fighter/tie_fighter_wing
{
    {
        map models/players/tie_fighter/tie_fighter_wing
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen lightingDiffuse


    }
    {
        map models/players/tie_fighter/tie_fighter_wing_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular
    }
}


models/players/tie_fighter/tie_fighter_body
{
    {
        map models/players/tie_fighter/tie_fighter_body
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen lightingDiffuse

    }
    {
        map models/players/tie_fighter/tie_fighter_spec
        blendFunc GL_SRC_ALPHA GL_ONE
        detail
        alphaGen lightingSpecular
    }
    {

As you can see both the body and wing "depthWrite" are removed and still no shadows atm o_O

Edited by dark_apprentice
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...