# Current situation using GLWF/modernGL/shaders

**URL:** <https://discourse.julialang.org/t/current-situation-using-glwf-moderngl-shaders/46815>\
**Category:** New to Julia\
**Created:** [September 18, 2020, 1:10am UTC](https://discourse.julialang.org/t/current-situation-using-glwf-moderngl-shaders/46815 "2020-09-18T01:10:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Gnimuc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gnimuc/32/2194_2.png) [@Gnimuc](https://discourse.julialang.org/u/Gnimuc)\
**Post date:** [September 18, 2020, 2:44pm UTC](https://discourse.julialang.org/t/current-situation-using-glwf-moderngl-shaders/46815/5 "2020-09-18T14:44:15Z")

</div>

> [@etijulvisu](#):
>
> I managed use raw GLWF to replace GLWindow to run the first examples in GLAbstraction tutorials

Sorry, I misunderstood the question. I thought you’d like to use raw GLFW **and ModernGL**. If you just wanna replace GLWindow with GLFW, then combining the simplest example in Videre with GLAbstraction will be enough to do the job.

The LazyShader and the render abstraction stuff are just certain abstractions over the ModernGL’s basic utilities, they have nothing to do with the advanced modern GL shaders. This recalls the old days when I was learning ModernGL with Julia. Back then, GLAbstraction has some fancy dependencies like Mustache for handling GLSL version. As a beginner, I found these abstraction-only stuff are noisy and it’s actually easier and effective to start with raw ModernGL APIs and build a glutils file with helper functions gradually. But it looks like your specific question is how to fix the example in the GLAbstraction repo. I’d say you will get more helpful responses if you file an issue to the GLAbstraction repo. 😉

> [@etijulvisu](#):
>
> I first want to see if there is the equivalent of GLAbstraction/render/shaders. in the VIDERE tutorials.

Unfortunately, these examples in Videre are intentionally not using any abstraction layers like GLAbstraction. There is only a [`glutils.jl`](https://github.com/Gnimuc/Videre/blob/master/OpenGL%204%20Tutorials/08_phong/glutils.jl) file that contains some helper functions for compiling shader, linking GLSL program, creating GLFW window, etc.

---

_[View the full topic](https://discourse.julialang.org/t/current-situation-using-glwf-moderngl-shaders/46815)._
