Hi Guys,
I am playing with projective texturing which I now have working well.
However, I am having troubles figuring out how to blend the original texture with the projective texture. I am trying to make it so the projective texture is painted on top of the original texture.
I have come close with this
textureColor = TextureStandard.Sample(SamplerWrap, input.textureCoord);
float4 texMixed = (projectionColor * projectionColor.a + textureColor * (1 - projectionColor.a));
color *= texMixed;
But this is giving me the following output;
The skull should be a solid black, and the greens are a bit washed out outside of the projected area.
Any advice on how to cleanly project the skull on to the body would be truly appreciated.
Thanks in advance