b22583d057
A new crate for the OptiFine/Iris translation (docs/shader-packs.md, order step 1, first half): open a pack folder or zip (shaders/ found as Iris finds it), list its programs per dimension folder, build the #include graph, discover options per include component (OptionAnnotatedSource rules: boolean defines referenced by #ifdef, value defines and configurable consts with a [...] list, conflicting defaults dropped), write the player's values into the lines, and expand Iris's standard macros with pp-rs, keeping line numbers so errors name file:line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
113 B
V Shell
4 lines
113 B
V Shell
#version 120
|
|
varying vec2 texcoord;
|
|
void main() { gl_Position = ftransform(); texcoord = gl_MultiTexCoord0.xy; }
|