You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uniforms block allows shortcuts for declaring globally-accessible uniform variables, for use in the global, position, normal, color and filter blocks. Uniforms declared here may also be accessed and manipulated through the JavaScript API.
This can be misunderstood to mean that uniforms can be defined dynamically depending on certain feature properties. The documentation should make clear that a shader is in that sense static (or whatever is the best word).
The docs state
Source: https://github.com/tangrams/tangram-docs/blob/44939085d5145417b2a5cd18e57287864bde33b7/docs/Syntax-Reference/shaders.md#uniforms
This can be misunderstood to mean that uniforms can be defined dynamically depending on certain feature properties. The documentation should make clear that a shader is in that sense static (or whatever is the best word).
Follow-up of tangrams/tangram-es#2319
The text was updated successfully, but these errors were encountered: