Closed polyclick closed 3 years ago
Hi @polyclick, here you can find a working example: https://github.com/actarian/glsl-canvas/blob/master/docs/shaders/example-basic.glsl
You should load the obj model by commenting the a_position attribute in the vertex shader.
Es.
attribute vec4 a_position; // data/dolphin.obj ...
Thanks! This works :)
Hi
I can't seem to figure out how to load a custom
.obj
, can we get an example in the docs or playground on how to do this?Thanks