mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 06:20:24 +00:00
8939687f6a
Load vertex positions for layouts in rectangle class. This will be used for proper rotation adjusting. Add latest muunt editor files. Add somewhat functional mk8 camera bin editor. Points can be moved around. The map orientation determines the position of the icons to map over the model. Fix window content UV map for layouts. Add 2D KCL renderer for top down KCL preview for both muunt and camera editors.
14 lines
237 B
GLSL
14 lines
237 B
GLSL
#version 330
|
|
|
|
in vec3 normal;
|
|
in vec3 color;
|
|
in vec3 position;
|
|
|
|
out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
vec3 displayNormal = (normal.xyz * 0.5) + 0.5;
|
|
float shading = max(displayNormal.y,0.5);
|
|
FragColor = vec4(vec3(shading),1);
|
|
}
|