/
redgpu
/
raygpu
Обзор
Документация
Войти
/
redgpu
/
raygpu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
resources/simple.frag
12 строк
404 B
manuel5975p
Move GetTouchPoint
18 янв 2025, 12:21
18 янв 2025, 12:21
2a90c37
Код
Авторство
О чём код?
#version 430 core //#extension clip_distances: disable layout(location = 0) in vec2 uv; layout(location = 0) out vec4 outColor; layout(location = 1) in vec4 somethingelse; layout(binding = 0) uniform texture2D tex0; layout(binding = 1) uniform sampler smp0; void main() { //outColor = vec4(1.0f, 0.0f, 0.0f, 1.0f); // Red color outColor = texture(sampler2D(tex0, smp0), uv); // Texture sample }