Files
libretro/bios/Other/j2me-loader/tex.vsh
T
Abdessamad Derraz 03a10841fb feat: collect J2ME-Loader 1.8.2-dev-1964 files
The five native libraries the reprofile added, and the assets and libraries whose copies dated from 1.8.2-open, now come from the official build of 752b93a (release continuous, CI run 39297510978, signing certificate de1bd54d as on 1.8.2). Assets match the repository blobs byte for byte. The profile carries their hashes, and the bundled-identity table now records each fall exactly.
2026-10-20 00:34:58 +02:00

26 lines
671 B
V Shell

uniform mat4 uMatrix;
uniform mat3 uNormalMatrix;
uniform vec2 uTexSize;
uniform float uAmbIntensity;
attribute vec4 aPosition;
attribute vec3 aNormal;
attribute vec2 aColorData;
attribute vec3 aMaterial;
varying vec2 vTexture;
varying vec3 vNormal;
varying float vIsTransparency;
varying float vIsReflect;
varying float vAmbIntensity;
void main() {
gl_Position = uMatrix * aPosition;
vNormal = uNormalMatrix * aNormal;
vIsTransparency = aMaterial[2];
vIsReflect = aMaterial[1];
vAmbIntensity = aMaterial[0] > 0.5 ? uAmbIntensity : -1.0;
#ifdef FILTER
vTexture = (aColorData + 0.5) / uTexSize;
#else
vTexture = aColorData / uTexSize;
#endif
}