Original Post
Hi, I am having problems with the 3D textures. I have created the 3D texture of size 256 * 256 * 256 from some scalar data. It has RGBA values. The RGB values are assigned based on scalar values. The alpha value actually contains the scalar value itself clamped between 0 and 1. After clamping the values can be pretty small say 0.00002, this is just to indicate that the original scalar values have big range. When I am doing alpha test based on some reference value, I get something, but as I change the reference value I dont see continous change. For example refrence value = 0.5 initially and my alphafunc is GL_LEQUAL Now if I change the reference alpha value to 0.5001, I dont see anything And if say now I change it further down 0.5002 I may see something. This is just the example. This behaviour is actually happening for many values. I have no idea why this is happening. Any direction in this regard will be helpful Thanks Gaurav Khanduja