Projective Texturing?

Started by
0 comments, last by Krohm 7 years, 10 months ago

turtle.jpg

Theres a box, theres a flat grid. The texture getting projected is doubling.

My Settings are


SamplerState SampleTypeWrap
{
    Filter   = COMPARISON_MIN_MAG_LINEAR_MIP_POINT;
 AddressU = BORDER;
 AddressV = BORDER;
 AddressW = BORDER;
 BorderColor = float4(0.0f, 0.0f, 0.0f, 0.0f);


    ComparisonFunc = LESS;
};

I don't know if the code above is wrong.?

Advertisement

You can bet whatever you hold most dear the bug or its solution isn't just in setting a sampler state.

Hint: once you activate your projective shader or pipe state everything you draw will get the texture on it.

Previously "Krohm"

This topic is closed to new replies.

Advertisement