light/Sandbox/res/fragment.fragment

18 lines
196 B
Text
Raw Normal View History

2021-06-15 09:39:11 +04:30
+GLSL
#version 440 core
in vec4 fragColor;
out vec4 FragmentColor;
void main()
2021-05-31 23:28:29 +04:30
{
FragmentColor = fragColor;
2021-06-15 09:39:11 +04:30
}
-GLSL
+HLSL
float4 main(float4 Color : COLOR) : SV_Target
{
return Color;
}
-HLSL