Closed Txpple closed 6 months ago
As discussed bilaterally, this is a delibarate change, but we will be exposing new uniforms that will allow you to overcome any issues the change may have imposed.
As discussed bilaterally, the new bounding box uniforms should allow overcoming the issue caused by this change.
It seems that in 37-2 vPos is pushing world vertex values to the vertex shader, and per documentation and all prior versions, it should be providing object vertex data. Something broke here.
See attached shaders and mdl file. The mdl file is a square that has the top two verts at a height of 1 and the bottoms at a height of zero, giving a range of 0 at bottom of the object to 1 at top for the verts. The shaders for the repro take vPos.Z in the vs and push the z value to the fs to color the square as a gradiant from black to white (0,0,0 to 1,1,1). If it goes over 1, it will color it red.
To Reproduce
Specifics
vPosbug.zip