Sign in
third-party-mirror
/
orbit
/
bea3fbd710027cc21729bcbba2bdbe11a9d02b59
/
.
/
qt-everywhere-src-5.15.1
/
qtbase
/
tests
/
manual
/
rhi
/
cubemap_render
/
cubemap_sample.frag
blob: 13a365ed0cb4b226fa9dae7a1de3de66b1fedada [
file
] [
log
] [
blame
]
#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
);
}