Buckets:
| import DFGApprox from './DFGApprox.js'; | |
| import { Fn } from '../../tsl/TSLBase.js'; | |
| const EnvironmentBRDF = /*@__PURE__*/ Fn( ( inputs ) => { | |
| const { dotNV, specularColor, specularF90, roughness } = inputs; | |
| const fab = DFGApprox( { dotNV, roughness } ); | |
| return specularColor.mul( fab.x ).add( specularF90.mul( fab.y ) ); | |
| } ); | |
| export default EnvironmentBRDF; | |
Xet Storage Details
- Size:
- 365 Bytes
- Xet hash:
- f40acae7ac0c7dac7f21b5b814763279599588d4a0c3988f2975d89a4cc02436
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.