瑞模网 Cesium 渐变色 柱子
发布时间
阅读量:
阅读量

直接展示代码内容:
// 自定义顶点着色器和片源着色器
let appearance = new Cesium.MaterialAppearance({
vertexShaderSource: `
attribute vec3 position3DHigh;
attribute vec3 position3DLow;
attribute float batchId;
varying vec4 v_positionEC;
attribute vec4 color;
varying vec4 v_color;
void main()
{
v_color = color;
vec4 p = czm_co
全部评论 (0)
还没有任何评论哟~
