dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 (edited) 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 April 29, 2015 by dark_apprentice
dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 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 } }
AshuraDX Posted April 29, 2015 Posted April 29, 2015 it's missing another } at the end of both shader entries nvm, no missing brackets did you check the console for any errors ?
dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 it's missing another } at the endstill the same
AshuraDX Posted April 29, 2015 Posted April 29, 2015 @@dark_apprenticeyeah 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.owould 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
dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 @@dark_apprenticeyeah 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.owould 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 channelHere 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
AshuraDX Posted April 29, 2015 Posted April 29, 2015 Your tie_fighter_wing.tga hasn o alpha channel, that's why it's not transparentpost 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
dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 @@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 } }
dark_apprentice Posted April 29, 2015 Author Posted April 29, 2015 Tried few changes, but still no actual change
dark_apprentice Posted April 30, 2015 Author Posted April 30, 2015 (edited) @@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 imageIn 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 April 30, 2015 by dark_apprentice
dark_apprentice Posted April 30, 2015 Author Posted April 30, 2015 I think that is what it is right now. Yes I know it misses the shadows of the wings, yes i know it's not perfect, but I think to release it later today as a V-1 or just a Release Candidate version.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now