ThreeJS 物理材质shader源码分析(像素着色器)
摘要:像素着色器(meshphysical_frag.glsl) #define PHYSICAL uniform vec3 diffuse; // 漫反射颜色 uniform vec3 emissive; // 自发光颜色 uniform float roughness; // 粗糙度 uniform
阅读全文
posted @ 2018-07-06 15:59
posted @ 2018-07-06 15:59
posted @ 2018-07-02 13:53