yt-project / yt_idv

Interactive volume rendering for yt
Other
9 stars 6 forks source link

Fix mesh rendering and uniformize shader variables #5

Closed matthewturk closed 3 years ago

matthewturk commented 3 years ago

I kind of did two things in this, and it's not totally done.

First -- it makes the mesh rendering work, and adds an example for that.

Second -- it starts to make the shader variables more uniform in naming scheme. I'm going to see if I can write this up, or put them into a definitions file or something, and then see what can be yanked out and in a base class. This part isn't done, although I've started with the .inc file.

matthewturk commented 3 years ago

Before this can go in, what needs to happen is the inc file getting used in all the shaders. I will wait on auto-assigning the uniforms etc until a later iteration.