Fixing shadows going apeshit in dorm on Android

This commit is contained in:
Vladislav Khorev 2026-07-19 22:34:03 +03:00
parent 2e749ed26e
commit 4c9ecb31d8
4 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@
{ {
"id": "main_hall", "id": "main_hall",
"positionX": -3.1, "positionX": -3.1,
"positionY": 6.0, "positionY": 4.8,
"positionZ": 0.0, "positionZ": 0.0,
"directionX": 0.0, "directionX": 0.0,
"directionY": -1.0, "directionY": -1.0,
@ -20,7 +20,7 @@
"limitX": 3.75, "limitX": 3.75,
"limitY": 2.75, "limitY": 2.75,
"positionX": 4.95, "positionX": 4.95,
"positionY": 3.0, "positionY": 3.6,
"positionZ": -14.25, "positionZ": -14.25,
"directionX": 0.0, "directionX": 0.0,
"directionY": -1.0, "directionY": -1.0,
@ -55,7 +55,7 @@
"limitX": 3.75, "limitX": 3.75,
"limitY": 2.75, "limitY": 2.75,
"positionX": -4.95, "positionX": -4.95,
"positionY": 4.0, "positionY": 4.2,
"positionZ": -19.95, "positionZ": -19.95,
"directionX": 0.0, "directionX": 0.0,
"directionY": -1.0, "directionY": -1.0,

View File

@ -1,3 +1,4 @@
precision highp float;
attribute vec3 vPosition; attribute vec3 vPosition;
attribute vec2 vTexCoord; attribute vec2 vTexCoord;
attribute vec3 vNormal; attribute vec3 vNormal;

View File

@ -1,4 +1,4 @@
precision mediump float; precision highp float;
uniform sampler2D Texture; uniform sampler2D Texture;
uniform sampler2D uShadowMap; uniform sampler2D uShadowMap;

View File

@ -1,3 +1,4 @@
precision highp float;
attribute vec3 vPosition; attribute vec3 vPosition;
attribute vec2 vTexCoord; attribute vec2 vTexCoord;
attribute vec3 vNormal; attribute vec3 vNormal;