Jump to content

Strange red tint to textures all of a suddon?


Amon
 Share

Recommended Posts

Is there a parameter I may have changed or is there something else I need to do with the lights? I'm basically getting a strong red tint to objects on the screen. I am using LoadMesh and loading a .gmf and assigning a material to it. I have 5 materials mat1, mat2, mat3 etc and each object is a clone of one mesh to which I apply the different material.

 

My material setup is as follows, below:

 

texture0="abstract::zombie0.dds"
clamp0=0,0,0
blend=0
depthmask=1
depthtest=1
overlay=1
zsort=1
cullface=1
castshadows=1
specular=0.500000000
bumpscale=1.00000000
gloss=0.500000000
shader="abstract::mesh_diffuse.vert","abstract::mesh_diffuse.frag"
shadowshader="abstract::mesh_shadow_skin.vert"

Windows 7 Ultimate 64 bit - ATI Radeon HD 5750 - 6GB DDR2 Ram - Intel Core2Quad : Dev Languages Used :- BlitzMax - Leadwerks.

 

May the sky never fall on your head.

Link to comment
Share on other sites

if that is an animated character you must use the skin shader and not just on the shadow shader: Animation Material

 

try this:

texture0="abstract::zombie0.dds"
shader="abstract::mesh_skin.vert","abstract::mesh_diffuse.frag"
shadowshader="abstract::mesh_shadow_skin.vert"

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...