melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
218 stars 42 forks source link

How to draw custom Geometry using a WebGL custom shader. #181

Closed SukanyaGavhane closed 4 years ago

SukanyaGavhane commented 4 years ago

Is it possible to draw a custom geometry using a custom shader with WebGL along with vts-browser.js .

if yes Can you please share some examples of drawing custom geometry using webgl with vts-browser.js

If it is not available in any of the current releases, is it in the implementation plan in the near future?

davidmtech commented 4 years ago

Hello,

there is example how to use custom shaders for custom geometry:

https://jsfiddle.net/9fod2s60/