adding David Hoskins's hasing functions to shader builtins

https://www.shadertoy.com/view/4djSRW (hash without sine)
This commit is contained in:
2022-04-02 16:12:20 +02:00
parent 15ab73909f
commit 631b9433c2
4 changed files with 155 additions and 0 deletions

View File

@ -90,6 +90,7 @@ void Shader::setUniformMat3f(const std::string& name, const glm::mat3& matrix) {
}
// TODO: refactor this whole thing out
// FIXME: hangs if trailing whitespace
std::string Shader::parse(Engine& engine, const std::string& filePath) {
auto& fs = engine.getService<MM::Services::FilesystemService>();