|
|
|
material openmw_moon
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
mrt_output true
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program moon_vertex
|
|
|
|
fragment_program moon_fragment
|
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
shader_properties
|
|
|
|
{
|
|
|
|
mrt_output $mrt_output
|
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
|
|
|
texture $diffuseMap
|
|
|
|
create_in_ffp true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_clouds
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
mrt_output true
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program clouds_vertex
|
|
|
|
fragment_program clouds_fragment
|
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
scene_blend alpha_blend
|
|
|
|
depth_write off
|
|
|
|
|
|
|
|
shader_properties
|
|
|
|
{
|
|
|
|
mrt_output $mrt_output
|
|
|
|
}
|
|
|
|
|
|
|
|
// second diffuse map is used for weather transitions
|
|
|
|
texture_unit diffuseMap1
|
|
|
|
{
|
|
|
|
texture $diffuseMap1
|
|
|
|
create_in_ffp true
|
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit diffuseMap2
|
|
|
|
{
|
|
|
|
texture $diffuseMap2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_atmosphere
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
mrt_output true
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program atmosphere_vertex
|
|
|
|
fragment_program atmosphere_fragment
|
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
scene_blend alpha_blend
|
|
|
|
depth_write off
|
|
|
|
|
|
|
|
shader_properties
|
|
|
|
{
|
|
|
|
mrt_output $mrt_output
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
material openmw_stars
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
mrt_output true
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program stars_vertex
|
|
|
|
fragment_program stars_fragment
|
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
shader_properties
|
|
|
|
{
|
|
|
|
mrt_output $mrt_output
|
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
|
|
|
diffuseMap $diffuseMap
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// used for both sun and sun glare
|
|
|
|
material openmw_sun
|
|
|
|
{
|
|
|
|
allow_fixed_function false
|
|
|
|
mrt_output true
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program sun_vertex
|
|
|
|
fragment_program sun_fragment
|
|
|
|
|
|
|
|
polygon_mode_overrideable off
|
|
|
|
|
|
|
|
shader_properties
|
|
|
|
{
|
|
|
|
mrt_output $mrt_output
|
|
|
|
}
|
|
|
|
|
|
|
|
texture unit diffuseMap
|
|
|
|
{
|
|
|
|
diffuseMap $diffuseMap
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|