changed much render-code.

- mapobjects and map get intitialized different
- added mapobjects-data to Types

refs #482 @3h
This commit is contained in:
Stefan Dresselhaus
2014-05-19 21:42:58 +02:00
parent 3dc26c45eb
commit 324d7037bf
3 changed files with 142 additions and 54 deletions

View File

@ -2,6 +2,12 @@
in vec3 Position;
in vec3 Normal;
uniform mat4 ProjectionMatrix;
uniform mat4 ViewMatrix;
uniform mat3 NormalMatrix;
uniform vec3 PositionOffset;
uniform float TessLevelInner = 1.0; // controlled by keyboard buttons
uniform float TessLevelOuter = 1.0; // controlled by keyboard buttons
out vec3 vPosition;
out vec3 vNormal;