git-svn-id: svn://db.shs.com.ru/libs@593 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-09-18 13:59:18 +00:00
parent b103b76f2d
commit 3766876655
6 changed files with 34 additions and 63 deletions

View File

@@ -28,7 +28,7 @@ void main(void) {
qgl_FragTexture = qgl_Texture;
qgl_FragColor = qgl_Color;
//tp /= tp.w;
ppos = prev_ModelViewProjectioMatrix * qgl_Vertex;
ppos = prev_ModelViewProjectioMatrix * vec4(qgl_Vertex.xyz, 1);
//pos.w = pos.w;
//speed = tp - ppos;
//speed /= (abs(speed) + 1.);