15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci	SGIX_shadow_ambient
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci	GL_SGIX_shadow_ambient
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciVersion
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci	$Date: 1997/02/26 03:36:32 $ $Revision: 1.3 $
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ciNumber
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ci	90
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ciDependencies
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci	None.
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ciOverview
225bd8deadSopenharmony_ci
235bd8deadSopenharmony_ci	This extension allows a value other than 0.0 to be returned by the
245bd8deadSopenharmony_ci	SGIX_shadow operation in the case when the shadow test passes.
255bd8deadSopenharmony_ci	With this extension any floating point value in the range [0.0,
265bd8deadSopenharmony_ci	1.0] can be returned as the texture value when an object is in
275bd8deadSopenharmony_ci	shadow.  This allows the (untextured) ambient lighting and direct
285bd8deadSopenharmony_ci	shadowed lighting from a single light source to be computed in a
295bd8deadSopenharmony_ci	single pass.
305bd8deadSopenharmony_ci	
315bd8deadSopenharmony_ciNew Procedures and Functions
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ci	None
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciNew Tokens
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci	Accepted by the <pname> parameter of TexParameterf, TexParameteri,
385bd8deadSopenharmony_ci	TexParameterfv, TexParameteriv, GetTexParameterfv, and
395bd8deadSopenharmony_ci	GetTexParameteriv:
405bd8deadSopenharmony_ci
415bd8deadSopenharmony_ci	SHADOW_AMBIENT_SGIX		0x80BF
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ci	None
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization)
485bd8deadSopenharmony_ci
495bd8deadSopenharmony_ci	GL Specification Table 3.8 is updated as follows:
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ci	Name				Type		Legal Values
525bd8deadSopenharmony_ci	----				----		------------
535bd8deadSopenharmony_ci	TEXTURE_WRAP_S			integer		CLAMP, REPEAT
545bd8deadSopenharmony_ci	TEXTURE_WRAP_T			integer		CLAMP, REPEAT
555bd8deadSopenharmony_ci	TEXTURE_WRAP_R_EXT		integer		CLAMP, REPEAT
565bd8deadSopenharmony_ci	TEXTURE_MIN_FILTER		integer		NEAREST, LINEAR,
575bd8deadSopenharmony_ci							NEAREST_MIPMAP_NEAREST,
585bd8deadSopenharmony_ci							NEAREST_MIPMAP_LINEAR,
595bd8deadSopenharmony_ci							LINEAR_MIPMAP_NEAREST,
605bd8deadSopenharmony_ci							LINEAR_MIPMAP_LINEAR,
615bd8deadSopenharmony_ci							FILTER4_SGIS,
625bd8deadSopenharmony_ci							LINEAR_CLIPMAP_LINEAR_SGIX
635bd8deadSopenharmony_ci	TEXTURE_MAG_FILTER		integer		NEAREST, LINEAR,
645bd8deadSopenharmony_ci							FILTER4_SGIS,
655bd8deadSopenharmony_ci							LINEAR_DETAIL_SGIS,
665bd8deadSopenharmony_ci							LINEAR_DETAIL_ALPHA_SGIS,
675bd8deadSopenharmony_ci							LINEAR_DETAIL_COLOR_SGIS,
685bd8deadSopenharmony_ci							LINEAR_SHARPEN_SGIS,
695bd8deadSopenharmony_ci							LINEAR_SHARPEN_ALPHA_SGIS,
705bd8deadSopenharmony_ci							LINEAR_SHARPEN_COLOR_SGIS,
715bd8deadSopenharmony_ci	TEXTURE_BORDER_COLOR		4 floats	any 4 values in [0,1]
725bd8deadSopenharmony_ci	DETAIL_TEXTURE_LEVEL_SGIS	integer		any non-negative integer
735bd8deadSopenharmony_ci	DETAIL_TEXTURE_MODE_SGIS	integer		ADD, MODULATE
745bd8deadSopenharmony_ci	TEXTURE_MIN_LOD_SGIS		float		any value
755bd8deadSopenharmony_ci	TEXTURE_MAX_LOD_SGIS		float		any value
765bd8deadSopenharmony_ci	TEXTURE_BASE_LEVEL_SGIS		integer		any non-negative integer
775bd8deadSopenharmony_ci	TEXTURE_MAX_LEVEL_SGIS		integer		any non-negative integer
785bd8deadSopenharmony_ci	GENERATE_MIPMAP_SGIS		boolean		TRUE or FALSE
795bd8deadSopenharmony_ci	TEXTURE_CLIPMAP_OFFSET_SGIX	2 floats	any 2 values
805bd8deadSopenharmony_ci	SHADOW_AMBIENT_SGIX		float		any value
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ci	Table 3.8: Texture parameters and their values.
835bd8deadSopenharmony_ci
845bd8deadSopenharmony_ci	Notes:
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ci	* A new texture parameter is defined which changes the sampled
875bd8deadSopenharmony_ci	texture value when SGIX_shadow is used, and a pixel is determined
885bd8deadSopenharmony_ci	to be in shadow.  In this case, the value of the
895bd8deadSopenharmony_ci	SHADOW_AMBIENT_SGIX parameter is returned, instead of 0.0 .  When
905bd8deadSopenharmony_ci	SHADOW_AMBIENT_SGIX is set, the <param> value is clamped to the
915bd8deadSopenharmony_ci	range [0.0, 1.0].
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations
945bd8deadSopenharmony_ciand the Frame Buffer)
955bd8deadSopenharmony_ci
965bd8deadSopenharmony_ci	None
975bd8deadSopenharmony_ci
985bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions)
995bd8deadSopenharmony_ci
1005bd8deadSopenharmony_ci	None
1015bd8deadSopenharmony_ci
1025bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests)
1035bd8deadSopenharmony_ci
1045bd8deadSopenharmony_ci	The shadow ambient value is queried by calling GetTexParameterfv
1055bd8deadSopenharmony_ci	with <pname> set to SHADOW_AMBIENT_SGIX.
1065bd8deadSopenharmony_ci	
1075bd8deadSopenharmony_ciAdditions to the GLX Specification
1085bd8deadSopenharmony_ci
1095bd8deadSopenharmony_ci	None
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ciErrors
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ci	None
1145bd8deadSopenharmony_ci
1155bd8deadSopenharmony_ciNew State
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ciGet Value			Get Command		Type	Initial Value		Attribute
1185bd8deadSopenharmony_ci---------			-----------		----	-------------		---------
1195bd8deadSopenharmony_ciSHADOW_AMBIENT_SGIX		GetTexParameter[if]v	F	0.0			texture
1205bd8deadSopenharmony_ci	
1215bd8deadSopenharmony_ciNew Implementation Dependent State
1225bd8deadSopenharmony_ci
1235bd8deadSopenharmony_ci	None
124