weBIGeo / webigeo

Rendering system for weBIGeo.
GNU General Public License v3.0
4 stars 0 forks source link

Shader code cleanup #31

Open pkomon-tgm opened 4 months ago

pkomon-tgm commented 4 months ago

Currently our wgsl code is spread over multiple files. Some files need to inclusion of over files to work. We should definitely go over what functions/structs are needed where and where they should be defined. A possible solution would also be to implement a more sophisticated preprocessor (i.e. something like pragma once would help with dependencies between wgsl source files).