mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.34k stars 1.33k forks source link

How can i change the shader? #16636

Open DeZhao-Zhang opened 2 years ago

DeZhao-Zhang commented 2 years ago

Platform: Mapbox SDK version:

Steps to trigger behavior

while i change the line render in file src\mbgl\programs\gl\line.cpp, such as line.vertex.glsl or line.fragment.glsl.

Expected behavior

i hope while i change the color or gl_position, the actual render will be change,but no change happend. will i need to change other file, and generate the line.cpp file??

Actual behavior