i want to keep an negative value in the texture,but can not access that negative value in the Vertex Shader. But i found the negative value i kept turn out to be 0 in Vertex Shader. Why?
And how can i keep negative value in texture?
My texture definition is:
uniform float4x4 WorldViewProj : state.matrix.mvp;
void main_v(float4 pos:POSITION,
out float4 opos:POSITION,
out float4 color:COLOR,
uniform sampler2D tex