home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 July & August
/
PCWorld_2007-07-08_cd.bin
/
temacd
/
chess3d
/
Chess3D_110.exe
/
media
/
data.c3d
/
mats.material
< prev
next >
Wrap
Text File
|
2006-11-07
|
6KB
|
356 lines
vertex_program CelShadingVP cg
{
source CelShading.cg
entry_point main_vp
profiles vs_1_1 arbvp1
default_params
{
param_named_auto lightPosition light_position_object_space 0
param_named_auto eyePosition camera_position_object_space
param_named_auto worldViewProj worldviewproj_matrix
param_named shininess float 1
}
}
fragment_program CelShadingFP cg
{
source CelShading.cg
entry_point main_fp
profiles ps_1_1 arbfp1 fp20
}
material Desk/White
{
technique
{
pass
{
ambient 0.6 0.6 0.6
diffuse 0.9 0.9 0.9
specular 0.8 0.8 0.8 20.0
}
}
}
material Desk/Black
{
technique
{
pass
{
ambient 0.1 0.1 0.1
diffuse 0.1 0.1 0.1
specular 0.3 0.3 0.3 20.0
}
}
}
material Desk/Green
{
technique
{
pass
{
ambient 0.0 0.9 0.0
diffuse 0.1 0.8 0.1
specular 0.3 0.3 0.3 20.0
}
}
}
material Arrow
{
technique
{
pass
{
ambient 0.8 0.0 0.0
diffuse 0.7 0.0 0.0
specular 0.6 0.2 0.2 20.0
}
}
}
material Fig/WhiteCartoon
{
technique
{
pass
{
vertex_program_ref CelShadingVP
{
param_named shininess float4 10.0 0.0 0.0 0
}
fragment_program_ref CelShadingFP
{
param_named diffuse float4 0.7 0.7 0.7 1
param_named specular float4 0.3 0.3 0.3 1
}
texture_unit
{
texture cel_shading_diffuse.png 1d
tex_address_mode clamp
filtering none
}
texture_unit
{
texture cel_shading_specular.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 1
}
texture_unit
{
texture cel_shading_edge.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 2
}
}
}
technique
{
pass
{
ambient 0.8 0.8 0.8
diffuse 0.8 0.8 0.8
specular 0.3 0.3 0.3 20.0
}
}
}
material Fig/BlackCartoon
{
technique
{
pass
{
vertex_program_ref CelShadingVP
{
param_named shininess float4 10.0 0.0 0.0 0
}
fragment_program_ref CelShadingFP
{
param_named diffuse float4 0.2 0.2 0.2 1
param_named specular float4 0.3 0.3 0.3 1
}
texture_unit
{
texture cel_shading_diffuse.png 1d
tex_address_mode clamp
filtering none
}
texture_unit
{
texture cel_shading_specular.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 1
}
texture_unit
{
texture cel_shading_edge.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 2
}
}
}
technique
{
pass
{
ambient 0.14 0.14 0.14
diffuse 0.14 0.14 0.14
specular 0.6 0.6 0.6 30.0
}
}
}
material Fig/MoveableCartoon
{
technique
{
pass
{
vertex_program_ref CelShadingVP
{
param_named shininess float4 10.0 0.0 0.0 0
}
fragment_program_ref CelShadingFP
{
param_named diffuse float4 0.1 0.9 0.1 1
param_named specular float4 0.6 0.6 0.6 1
}
texture_unit
{
texture cel_shading_diffuse.png 1d
tex_address_mode clamp
filtering none
}
texture_unit
{
texture cel_shading_specular.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 1
}
texture_unit
{
texture cel_shading_edge.png 1d
tex_address_mode clamp
filtering none
tex_coord_set 2
}
}
}
technique
{
pass
{
ambient 0.1 0.8 0.1
diffuse 0.1 0.9 0.1
specular 0.6 0.6 0.6 30.0
}
}
}
material Fig/White
{
technique
{
pass
{
ambient 0.8 0.8 0.8
diffuse 0.8 0.8 0.8
specular 0.3 0.3 0.3 20.0
}
}
}
material Fig/Black
{
technique
{
pass
{
ambient 0.14 0.14 0.14
diffuse 0.14 0.14 0.14
specular 0.6 0.6 0.6 30.0
}
}
}
material Fig/Moveable
{
technique
{
pass
{
ambient 0.1 0.8 0.1
diffuse 0.1 0.9 0.1
specular 0.6 0.6 0.6 30.0
}
}
}
material Desk/0
{
technique
{
pass
{
ambient 0.9 0.9 0.9
diffuse 0.9 0.9 0.9
}
}
}
material Desk/1
{
technique
{
pass
{
ambient 0.9 0.9 0.0
diffuse 0.9 0.9 0.0
}
}
}
material Desk/2
{
technique
{
pass
{
ambient 1.0 0.6 0.0
diffuse 1.0 0.6 0.0
}
}
}
material Desk/3
{
technique
{
pass
{
ambient 1.0 0.2 0.0
diffuse 1.0 0.2 0.0
}
}
}
material Desk/4
{
technique
{
pass
{
ambient 0.7 0.0 0.0
diffuse 0.7 0.0 0.0
}
}
}
material Desk/5
{
technique
{
pass
{
ambient 0.1 0.1 0.1
diffuse 0.1 0.1 0.1
}
}
}
material Fig/Confirm
{
technique
{
pass
{
emissive 0.0 1.0 0.0
}
}
}
//1.10
material Desk/WhiteHighlighted
{
technique
{
pass
{
ambient 0.9 0.4 0.4
diffuse 0.9 0.4 0.4
specular 0.0 0.0 0.0 20.0
}
}
}
material Desk/BlackHighlighted
{
technique
{
pass
{
ambient 0.5 0.0 0.0
diffuse 0.2 0.1 0.1
specular 0.0 0.0 0.0 20.0
}
}
}