Logo
Explore Help
Register Sign In
mgs/marching-cubes-opengl
1
0
Fork 0
You've already forked marching-cubes-opengl
generated from karl/cpp-template
Code Issues Pull Requests Projects Releases Wiki Activity
marching-cubes-opengl/Shader/mc.fs

13 lines
205 B
Forth
Raw Normal View History

Basic structure there, but not functional
2021-03-19 18:27:00 +01:00
#version 430
Basic project setup the example from https://learnopengl.com/Advanced-OpenGL/Geometry-Shader is functional; built with SCons.
2021-03-16 19:53:16 +01:00
Basic structure there, but not functional
2021-03-19 18:27:00 +01:00
layout (binding = 0) uniform sampler3D densities;
Basic project setup the example from https://learnopengl.com/Advanced-OpenGL/Geometry-Shader is functional; built with SCons.
2021-03-16 19:53:16 +01:00
Basic structure there, but not functional
2021-03-19 18:27:00 +01:00
in vec3 varTextureG;
out vec4 color;
Basic project setup the example from https://learnopengl.com/Advanced-OpenGL/Geometry-Shader is functional; built with SCons.
2021-03-16 19:53:16 +01:00
Basic structure there, but not functional
2021-03-19 18:27:00 +01:00
void main(void) {
float f = texture(densities, varTextureG).r;
color = vec4(f, f, f, 1.0);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 44ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API