import { TextureBase } from '@awayjs/renderer'; import { EffectEnvMapMethod, _Shader_EffectEnvMapMethod } from './EffectEnvMapMethod'; /** * EffectFresnelEnvMapMethod provides a method to add fresnel-based reflectivity to an object using cube maps, which gets * stronger as the viewing angle becomes more grazing. */ export declare class EffectFresnelEnvMapMethod extends EffectEnvMapMethod { private _fresnelPower; private _normalReflectance; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * The power used in the Fresnel equation. Higher values make the fresnel effect more pronounced. Defaults to 5. */ get fresnelPower(): number; set fresnelPower(value: number); /** * The minimum amount of reflectance, ie the reflectance when the view direction is normal to the surface or light direction. */ get normalReflectance(): number; set normalReflectance(value: number); /** * Creates a new EffectFresnelEnvMapMethod object. * * @param envMap The environment map containing the reflected scene. * @param alpha The reflectivity of the material. */ constructor(envMap: TextureBase, alpha?: number, fresnelPower?: number, normalReflectance?: number); } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; /** * _Shader_EffectFresnelEnvMapMethod provides a method to add fresnel-based reflectivity to an object using cube maps, which gets * stronger as the viewing angle becomes more grazing. */ export declare class _Shader_EffectFresnelEnvMapMethod extends _Shader_EffectEnvMapMethod { /** * @inheritDoc */ _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; protected _updateProperties(): void; } //# sourceMappingURL=EffectFresnelEnvMapMethod.d.ts.map