2012-07-19 14:23:30 +00:00
|
|
|
material Water
|
2012-07-04 22:39:25 +00:00
|
|
|
{
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program water_vertex
|
|
|
|
fragment_program water_fragment
|
|
|
|
|
2012-07-19 14:23:30 +00:00
|
|
|
cull_hardware none
|
|
|
|
|
2012-07-04 22:39:25 +00:00
|
|
|
texture_unit reflectionMap
|
|
|
|
{
|
|
|
|
texture_alias WaterReflection
|
2012-07-19 14:23:30 +00:00
|
|
|
tex_address_mode clamp
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit refractionMap
|
|
|
|
{
|
|
|
|
texture_alias WaterRefraction
|
2012-07-19 14:23:30 +00:00
|
|
|
tex_address_mode clamp
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit depthMap
|
|
|
|
{
|
2012-07-19 14:23:30 +00:00
|
|
|
texture_alias SceneDepth
|
|
|
|
tex_address_mode clamp
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
texture_unit normalMap
|
|
|
|
{
|
2012-07-19 14:23:30 +00:00
|
|
|
direct_texture water_nm.png
|
2012-07-04 22:39:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-07-19 20:23:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
material Underwater_Dome
|
|
|
|
{
|
|
|
|
parent openmw_objects_base
|
|
|
|
|
|
|
|
depth_write off
|
|
|
|
}
|