#*****************************************************************************
# Copyright 1986-2002 by mental images GmbH & Co.KG, Fasanenstr. 81, D-10623
# Berlin, Germany. All rights reserved.
#*****************************************************************************
# Author:       Gunter
# Created:      6.2.97
# Module:       wavefront
# Purpose:      .mi declarations for Wavefront shaders
#
# Exports:
#	wave_material
#	wave_shadow
#	wave_light
#	wave_color_texture
#	wave_scalar_texture
#	wave_vector_texture
#	wave_reflection_map
#
# History: 
#
# Description:
#****************************************************************************/

min version "1.9"
max version "3.2.99"

declare shader
	color "wave_material" (
		integer	"illum",
		color	"ambient",
		color	"diffuse",
		color	"specular",
		color	"tf",
		scalar	"dissolve",
		scalar	"ns",
		scalar	"ni",
		color texture	"ambient_map",
		color texture	"diffuse_map",
		color texture	"specular_map",
		scalar texture	"dissolve_map",
		scalar texture	"ns_map",
		vector texture	"bump_map",
		array light	"lights",
		boolean	"use_reflectivity",
		color	"reflect"
	)
	version 1
end declare

declare shader
	color "wave_shadow" (
		scalar	"dissolve",
		scalar texture	"dissolve_map"
	)
	version 1
end declare

declare shader
	color "wave_light" (
		color	"color",
		vector	"direction",
		boolean	"dist_linear",
		scalar	"dist_start",
		scalar	"dist_end",
		boolean	"dist_inverse",
		scalar	"dist_power",
		boolean	"angle_linear",
		scalar	"angle_outer",
		scalar	"angle_inner",
		boolean	"angle_cosine",
		scalar	"angle_power"
	)
	version 1
end declare

declare shader
	color "wave_color_texture" (
		color texture	"texture",
		vector	"origin",
		vector	"scale",
		color	"base",
		color	"gain"
	)
	version 1
end declare

declare shader
	color "wave_scalar_texture" (
		scalar texture	"texture",
		vector	"origin",
		vector	"scale",
		scalar	"base",
		scalar	"gain"
	)
	version 1
end declare

declare shader
	color "wave_vector_texture" (
		vector texture	"texture",
		vector	"origin",
		vector	"scale",
		scalar	"mult"
	)
	version 1
end declare

declare shader
	color "wave_reflection_map" (
		color texture	"texture",
		transform	"transform"
	)
	version 1
end declare
