2013-05-07 15:38:24 +00:00
|
|
|
material QueryTotalPixels
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program sun_vertex
|
|
|
|
fragment_program sun_fragment
|
|
|
|
cull_hardware none
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
depth_check off
|
|
|
|
depth_write off
|
|
|
|
colour_write off
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material QueryVisiblePixels
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program sun_vertex
|
|
|
|
fragment_program sun_fragment
|
|
|
|
cull_hardware none
|
|
|
|
cull_software none
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
depth_check on
|
|
|
|
depth_write off
|
|
|
|
colour_write off
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-04 22:39:25 +00:00
|
|
|
material openmw_moon
|
|
|
|
{
|
2012-07-09 18:14:07 +00:00
|
|
|
allow_fixed_function false
|
2012-07-04 22:39:25 +00:00
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program moon_vertex
|
|
|
|
fragment_program moon_fragment
|
2013-05-07 15:38:24 +00:00
|
|
|
cull_hardware none
|
|
|
|
|
2012-07-06 08:31:48 +00:00
|
|
|
polygon_mode_overrideable off
|
2012-07-13 07:13:12 +00:00
|
|
|
depth_write off
|
|
|
|
depth_check off
|
|
|
|
scene_blend alpha_blend
|
2012-07-06 08:31:48 +00:00
|
|
|
|
2012-07-04 22:39:25 +00:00
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
2012-07-13 07:13:12 +00:00
|
|
|
texture_alias $texture
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
2012-07-23 11:04:48 +00:00
|
|
|
|
|
|
|
texture_unit alphaMap
|
|
|
|
{
|
|
|
|
direct_texture textures\tx_secunda_full.dds
|
|
|
|
}
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_clouds
|
|
|
|
{
|
2012-07-09 18:14:07 +00:00
|
|
|
allow_fixed_function false
|
2012-07-04 22:39:25 +00:00
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program clouds_vertex
|
|
|
|
fragment_program clouds_fragment
|
2012-07-06 08:31:48 +00:00
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
scene_blend alpha_blend
|
|
|
|
depth_write off
|
|
|
|
|
2012-07-04 22:39:25 +00:00
|
|
|
// second diffuse map is used for weather transitions
|
|
|
|
texture_unit diffuseMap1
|
|
|
|
{
|
2012-07-11 00:31:03 +00:00
|
|
|
texture_alias cloud_texture_1
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit diffuseMap2
|
|
|
|
{
|
2012-07-11 00:31:03 +00:00
|
|
|
texture_alias cloud_texture_2
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_atmosphere
|
|
|
|
{
|
2012-07-09 18:14:07 +00:00
|
|
|
allow_fixed_function false
|
2012-07-04 22:39:25 +00:00
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program atmosphere_vertex
|
|
|
|
fragment_program atmosphere_fragment
|
2012-07-06 08:31:48 +00:00
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
depth_write off
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_stars
|
|
|
|
{
|
2012-07-09 18:14:07 +00:00
|
|
|
allow_fixed_function false
|
2012-07-04 22:39:25 +00:00
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program stars_vertex
|
|
|
|
fragment_program stars_fragment
|
2012-07-06 08:31:48 +00:00
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
2012-07-11 07:08:55 +00:00
|
|
|
|
|
|
|
depth_check off
|
|
|
|
depth_write off
|
|
|
|
scene_blend alpha_blend
|
2012-07-04 22:39:25 +00:00
|
|
|
|
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
2012-07-11 07:08:55 +00:00
|
|
|
direct_texture $texture
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// used for both sun and sun glare
|
|
|
|
material openmw_sun
|
|
|
|
{
|
2012-07-09 18:14:07 +00:00
|
|
|
allow_fixed_function false
|
2012-07-04 22:39:25 +00:00
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program sun_vertex
|
|
|
|
fragment_program sun_fragment
|
2013-05-07 15:38:24 +00:00
|
|
|
cull_hardware none
|
2012-07-06 08:31:48 +00:00
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
2012-07-13 07:13:12 +00:00
|
|
|
depth_check off
|
|
|
|
depth_write off
|
|
|
|
scene_blend alpha_blend
|
|
|
|
|
2012-07-11 07:08:55 +00:00
|
|
|
texture_unit diffuseMap
|
2012-07-04 22:39:25 +00:00
|
|
|
{
|
2012-07-11 07:08:55 +00:00
|
|
|
direct_texture $texture
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|