diff options
author | Adrian Kummerlaender | 2022-09-21 22:03:22 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2022-09-21 22:03:22 +0200 |
commit | a49886ba29d0f28d3d4fe562a935defdaeb7a738 (patch) | |
tree | 188eecfd696a2a3113e8e5a20f47d9374beb48bc /channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py | |
parent | 8c207f1424f8865d7e9af990326000b3dc733db4 (diff) | |
download | symlbm_playground-master.tar symlbm_playground-master.tar.gz symlbm_playground-master.tar.bz2 symlbm_playground-master.tar.lz symlbm_playground-master.tar.xz symlbm_playground-master.tar.zst symlbm_playground-master.zip |
Diffstat (limited to 'channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py')
-rw-r--r-- | channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py b/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py index 41d2958..13896a8 100644 --- a/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py +++ b/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py @@ -147,8 +147,10 @@ fragment_shader = shaders.compileShader(""" in vec3 color; +layout(location = 0) out vec4 frag_color; + void main(){ - gl_FragColor = vec4(vec3(0.5), 1.0); + frag_color = vec4(vec3(0.5), 1.0); }""", GL_FRAGMENT_SHADER) raycast_vertex_shader = shaders.compileShader(""" |