Closed BlackdBlook closed 9 months ago
I got a .vert file like this
#version 460 core layout (location = 0) in vec3 aPos; layout (location = 1) in vec3 aNormal; layout (location = 2) in vec2 aTexCoords; out vec3 FragPos; out vec3 Normal; out vec2 TexCoords; uniform mat4 model; layout (shared) uniform Matrices { mat4 view; mat4 projection; mat4 lightSpaceMatrix; }; void main() { FragPos = vec3(model * vec4(aPos, 1.0)); Normal = mat3(transpose(inverse(model))) * aNormal; TexCoords = aTexCoords; gl_Position = projection * view * vec4(FragPos, 1.0); }
When I seleced the variable in Matrices, other reference code cannot be highlighted like the other normal uniform variable
Selecting variables in the Matrices block in the editor, other reference codes are not highlighted correctly.
Is this a problem of rider ?
Repeated submission
Unable to correctly trigger highlighted code block in layout uniform variables.
I got a .vert file like this
When I seleced the variable in Matrices, other reference code cannot be highlighted like the other normal uniform variable
Expected behavior
Selecting variables in the Matrices block in the editor, other reference codes are not highlighted correctly.
Versions
Is this a problem of rider ?