mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 17:26:16 +02:00
try to fix android shader build error
This commit is contained in:
parent
078ca7edea
commit
029a494beb
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ void main() {
|
|||
if (params.effect == 3) { // Shadow
|
||||
const int VERTICES_PER_QUAD = 4; // must match value in Font.cpp
|
||||
const float EPSILON = 0.001;
|
||||
position.z += floor(gl_VertexID / VERTICES_PER_QUAD) * EPSILON;
|
||||
position.z += float(gl_VertexID / VERTICES_PER_QUAD) * EPSILON;
|
||||
}
|
||||
|
||||
TransformCamera cam = getTransformCamera();
|
||||
|
|
Loading…
Reference in a new issue