mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
23 lines
No EOL
619 B
Text
23 lines
No EOL
619 B
Text
<@include gpu/Config.slh@>
|
|
<$VERSION_HEADER$>
|
|
// Generated on <$_SCRIBE_DATE$>
|
|
// sdf_text.vert
|
|
// vertex shader
|
|
//
|
|
// Created by Brad Davis on 10/14/13.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
<@include gpu/Transform.slh@>
|
|
|
|
<$declareStandardTransform()$>
|
|
|
|
void main() {
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
|
|
// standard transform
|
|
TransformCamera cam = getTransformCamera();
|
|
TransformObject obj = getTransformObject();
|
|
<$transformModelToClipPos(cam, obj, gl_Vertex, gl_Position)$>
|
|
} |