ashikhmin VEX function
Context: surface
See also: phong, phonglobe, Writing a PBR shader
-
bsdf ashikhmin(float exponentx, float exponenty, vector framex, vector framey) -
bsdf ashikhmin(vector nml, float exponentx, float exponenty, vector framex, vector framey)
An anisotropic bsdf similar to phong() but with independent controls for the highlight size along 2 tangent vectors.
-
exponentx– phong exponent along theframexvector. -
exponenty– phong exponent along theframeyvector. -
framex– highlight X direction. -
framey– highlight Y direction.