I cannot access individual elements of vector-type custom uniforms or variables.
Steps to Reproduce
create a new vector variable or uniform in shaders/shaders.properties (vec2, vec3, vec4)
try to access an individual element of said vector (.x, .y, .z, .w) in another variable or uniform
the variable or uniform trying to access the element of the original variable/uniform will be empty
OptiFine Version
OptiFine HD U I5
Installation Method
Installed through the installer
Additional Information
Also using ATLauncher. While this not a mod, I felt it might be relevant to at least mention.
It also has a console window that prints debug information, here's along the lines of what prints to it when I try
accessing the elements .x, .y, .z, .w of any custom variables or uniforms
[Render thread/WARN] [Shaders] net.optifine.expr.ParseException: Model variable not found: c_screen_info.z
Description of Issue
I cannot access individual elements of vector-type custom uniforms or variables.
Steps to Reproduce
shaders/shaders.properties
(vec2
,vec3
,vec4
).x
,.y
,.z
,.w
) in another variable or uniformOptiFine Version
OptiFine HD U I5
Installation Method
Installed through the installer
Additional Information
Also using ATLauncher. While this not a mod, I felt it might be relevant to at least mention. It also has a console window that prints debug information, here's along the lines of what prints to it when I try accessing the elements
.x
,.y
,.z
,.w
of any custom variables or uniforms