April 15, 2012
at 12:59 pm /
#4714
Hi everybody.
i’m trying to use this shader with strange results in game…the parts that are not facing the sun are totally black.
Theese are the textures i made and where i put it in Canvas:
Slot 1: Diffuse
Slot 2:Occlusion Map
Slot Bump: Normal+specular in alpha channel
I’ve no idea what to look at to fix this.
thank you in advance
April 15, 2012
at 2:11 pm /
#26249
Hello,
You’re not using the slots properly: take a look here[/url:3aax814x]
April 15, 2012
at 4:34 pm /
#26250
thanks for the reply.
I think we are talking about different shaders.
What i’m talking about is the new one for foreground buildings, not the rolling material one.
The slots must be those i’m using.
Further to the specular map, according to Derek’s topic…it has to be placed in the normal map alfa channel.
I’ve made attempts putting the specular in the diffuse alfa channel,occlusion alfa channel…of course was not working.
April 17, 2012
at 4:39 pm /
#26247
I have only used this once for rolling stock so I don’t have much experiences with it, but perhaps you normal map was not generated correctly? It should look blueish, which raised parts being lighter in color (sometime white) and recessed parts being darker (sometimes almost black). Also, if somehow you accidentally swapped your alpha sample (env.bmp) which is usually a solid black color, for the NM, then I would imagine it would recess everything and make it look darker.
April 17, 2012
at 8:14 pm /
#26248
Are the faces textured using Face coordinates ? (Face coordinates must be used w/ bump maps, at least w/ TrainBumpSpecEnvMask.fx)
May 1, 2012
at 1:38 pm /
#26245
thanks for the replies…
I normally don’t use cordinates to apply textures.
I’ve tried also using that method (unwrapping)…no changes
The normal map is well generated as i use a third party software to create maps.