QT绘制雷达效果图
#define SMOOTH(r,R) (1.0-smoothstep(R-1.0,R+1.0, r))#define RANGE(a,b,x) ( step(a,x)*(1.0-step(b,x)) )#define RS(a,b,x) ( smoothstep(a-1.0,a+1.0,x)*(1.0-smoothstep(b-1.0,b+1.0,x)) )#define M_PI 3.1415926535897932384626433832795#define blue1 vec3(0.74,
原创
2021-09-27 18:48:28 ·
1900 阅读 ·
1 评论