What is the behavior of division "/" ?
0.03125 != 1/32 == 0 on my test.
for some reason,
float4 threshold = float4(index.x, index.x + 1/64, index.x + 1/32, index.x + 3/64);
and
float4 threshold = float4(index.x, index.x + 0.015625, index.x + 0.03125, index.x + 0.046875);
are having different result.
Last edit: 8 years 1 month ago by kingeric1992.
Please Log in or Create an account to join the conversation.