I am making a simple effect, a texture is on top of other texture/shader and blending in with them multiply mode. I have tried by fail .. Could anyone have done it please help. I have try to find in the manual but the effect manual is too bad!
Re: Help with material effect
[Re: fusukery]
#129772 05/14/0715:0305/14/0715:03
addressU[1]=Clamp; addressV[1]=Clamp; texCoordIndex[1]=cameraSpaceReflectionVector; textureTransformFlags[1]=Count3; textureTransform[1]=<matMtl>; // transform camera space back to world space } } "; }
This is the code of an enviroment cube map.. Now, I want to make a texture blend over the shader. I think I must write a new pass, blend with the existing pass, but do not know how to do
Re: Help with material effect
[Re: fusukery]
#129774 05/14/0715:5705/14/0715:57
I do not think this is call shader, , just a simple material script for blending texture or pass Could anyone post a code snippet, I still can not figure it out . I know must use a blending mode ColorOp[n] = Modulate; but do not know how to declare it in a new pass
Last edited by fusukery; 05/14/0716:05.
Re: Help with material effect
[Re: fusukery]
#129776 05/14/0720:0805/14/0720:08
I found that the ColorOp seems only blend mode for texture , how about the pass?? In my case, pass 1 has been used for environment mapping, so I need another pass with texture and blend down with pass 1
Re: Help with material effect
[Re: fusukery]
#129777 05/15/0700:0305/15/0700:03