Jump to content

Issues using blender


Recommended Posts

Recently I've learnt how to use blender to replace or add parts from a model. I replaced my darth sidious model hood with another hood from an old sidious model from JKO.

z1Je54a.pngBut in game this is the result:

kS9w3fL.png

I think it could be a problem with the shader but i have no idea what exactly is wrong.

Please help me! :wallbash:

Link to comment

Recently I've learnt how to use blender to replace or add parts from a model. I replaced my darth sidious model hood with another hood from an old sidious model from JKO.

z1Je54a.pngBut in game this is the result:

kS9w3fL.png

I think it could be a problem with the shader but i have no idea what exactly is wrong.

Please help me! :wallbash:

 

It's the shader add "cull twosided " too the hood texture and it will fix it.

JAWSFreelao likes this
Link to comment

Cull twosided is already added in the shader file from the other model (the one i used to the hood). It's noted that there are two different shader files: the one which comes with the original model (JVSidious), and the other from the other sidious skin that I used for the hood,  which is also in the base folder. So In case I had to edit a shader file, which should I edit?

Any other idea?

Link to comment

Cull twosided is already added in the shader file from the other model (the one i used to the hood). It's noted that there are two different shader files: the one which comes with the original model (JVSidious), and the other from the other sidious skin that I used for the hood,  which is also in the base folder. So In case I had to edit a shader file, which should I edit?

Any other idea?

 

You need the shader file and contents renamed to the name of your model. Posting your shader file would be helpful.

Link to comment

I took a look at your file the shader needs changed to this 

 

//  Emperor
 
models/players/lord_sidious/bodyb
{
cull twosided
{
map models/players/lord_sidious/bodyb
rgbGen lightingDiffuse
}
}
 
models/players/lord_sidious/bodyc
{
cull twosided
{
map models/players/lord_sidious/bodyc
rgbGen lightingDiffuse
}
}
 
models/players/lord_sidious/headb
{
{
map models/players/lord_sidious/headb
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/headb-spec
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
models/players/lord_sidious/headc
{
{
map models/players/lord_sidious/headc
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/head-spec_sith
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
models/players/lord_sidious/emphead_hood
{
cull twosided
{
map models/players/lord_sidious/emphead_hood
alphaFunc GE128
                rgbGen lightingDiffuse
}
}
 
models/players/lord_sidious/robeb-parts
{
cull twosided
{
map models/players/lord_sidious/robeb-parts
rgbGen lightingDiffuse
}
}
 
models/players/lord_sidious/robec-hood
{
cull twosided
{
map models/players/lord_sidious/robec-hood
rgbGen lightingDiffuse
}
}
 
models/players/lord_sidious/robec-parts
{
cull twosided
{
map models/players/lord_sidious/robec-parts
rgbGen lightingDiffuse
}
}
 
 
//  lord_sidious
 
models/players/lord_sidious/body
{
cull twosided
{
map models/players/lord_sidious/body
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/body-spec
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
models/players/lord_sidious/head
{
{
map models/players/lord_sidious/head
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/head-spec
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
models/players/lord_sidious/body_sith
{
cull twosided
{
map models/players/lord_sidious/body_sith
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/body-spec
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
models/players/lord_sidious/head_sith
{
{
map models/players/lord_sidious/head_sith
rgbGen lightingDiffuse
}
{
map models/players/lord_sidious/head-spec_sith
blendFunc GL_SRC_ALPHA GL_ONE
alphaGen lightingSpecular
detail
}
}
 
 
None of the shader was pathed to your model.
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...