import { TextureBase } from '@awayjs/renderer'; import { MethodBase, _Shader_MethodBase } from './MethodBase'; /** * NormalBasicMethod is the default method for standard tangent-space normal mapping. */ export declare class NormalBasicMethod extends MethodBase { private _texture; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * A texture to modulate the direction of the surface for each texel (normal map). The default normal method expects * tangent-space normal maps, but others could expect object-space maps. */ get texture(): TextureBase; set texture(value: TextureBase); /** * Creates a new NormalBasicMethod object. */ constructor(texture?: TextureBase); /** * @inheritDoc */ copyFrom(method: MethodBase): void; /** * @inheritDoc */ dispose(): void; } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; import { ShaderBase, _Render_RenderableBase, _Shader_TextureBase, ChunkVO } from '@awayjs/renderer'; /** * _Shader_NormalBasicMethod is the default method for standard tangent-space normal mapping. */ export declare class _Shader_NormalBasicMethod extends _Shader_MethodBase { protected _method: NormalBasicMethod; protected _shader: ShaderBase; protected _texture: _Shader_TextureBase; /** * Creates a new EffectEnvMapChunk. */ init(method: NormalBasicMethod, shader: ShaderBase): void; _isUsed(): boolean; /** * @inheritDoc */ _initVO(chunkVO: ChunkVO): void; /** * @inheritDoc */ _initConstants(): void; /** * Indicates whether or not this method outputs normals in tangent space. Override for object-space normals. */ _outputsTangentNormals(): boolean; /** * @inheritDoc */ _activate(): void; _setRenderState(renderState: _Render_RenderableBase): void; /** * @inheritDoc */ _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; } //# sourceMappingURL=NormalBasicMethod.d.ts.map