“ERROR: Could not load shader file HeightMap.vvvvjs.fx”
“Warning: Could not load shader file HeightMap.vvvvjs.fx is not implemented”. …
In Chrome console:
“VM89:194 Cannot read property ‘1’ of null” and “TypeError: Cannot read property ‘1’ of null
at VVVV.Nodes.GenericShader.setupShader (vvvv.nodes.webgl.js:1874)”
The both files are in the same folder as the patch (and also in the effect folder). I went through the html files - triple checked all the links as well as xml file of v4p but cannot find any source of the problem. ANY IDEAS??? Thanks, Kasia
that particular example seems not to be compatible with 2.0 (or Github’s master).
Moreover, 2-pass rendering with Canvas as first pass going into WebGL as 2nd pass (like in that example) has been broken at some point and has not yet been replaced. Passing WebGL Renderer to WebGL Renderer works fine though.
in particular the “walking on terrain” will give you a good example of how to do the heightmap nowadays, there is an extra node for it. you can feed it with a one dimensional height buffer, either procedurally or from a json file