Have a basic outlining thing with stencils but required a bit of hacking to make it work in Scene::render.
This commit is contained in:
parent
993f148710
commit
dc973009fd
13 changed files with 101 additions and 43 deletions
6
18-depth-testing/shaders/18-outline.glsl
Normal file
6
18-depth-testing/shaders/18-outline.glsl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
void main() {
|
||||
FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue