pissang / claygl

A WebGL graphic library for building scalable Web3D applications
http://claygl.xyz/
BSD 2-Clause "Simplified" License
2.81k stars 302 forks source link

Phong/ Custom Shader #128

Open FynnBr opened 3 years ago

FynnBr commented 3 years ago

I tried using the phong material by using the example given in the code. Since this is also using clay.standard.vertex and clay.standard.fragment I can't see a difference between this and the default material. Is the default material now phong or is there another way to use phong?