UNPKG

@animech-public/playcanvas

Version:
15 lines (13 loc) 210 B
var iorPS = ` #ifdef MAPFLOAT uniform float material_refractionIndex; #endif void getIor() { #ifdef MAPFLOAT dIor = material_refractionIndex; #else dIor = 1.0 / 1.5; #endif } `; export { iorPS as default };