mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-08 02:17:43 +08:00
qt 6.5.1 original
This commit is contained in:
10
tests/manual/rhi/cubemap/cubemap.frag
Normal file
10
tests/manual/rhi/cubemap/cubemap.frag
Normal file
@ -0,0 +1,10 @@
|
||||
#version 440
|
||||
|
||||
layout(location = 0) in vec3 v_coord;
|
||||
layout(location = 0) out vec4 fragColor;
|
||||
layout(binding = 1) uniform samplerCube tex;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(texture(tex, v_coord).rgb, 1.0);
|
||||
}
|
Reference in New Issue
Block a user