Set up a liquid material.

This commit is contained in:
Relintai 2022-02-19 09:16:33 +01:00
parent bf695a310b
commit 230baeda0e
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,9 @@
[gd_resource type="SpatialMaterial" format=2]
[resource]
flags_transparent = true
flags_unshaded = true
flags_do_not_receive_shadows = true
vertex_color_use_as_albedo = true
params_cull_mode = 2
albedo_color = Color( 1, 1, 1, 0.662745 )

View File

@ -1,4 +1,4 @@
[gd_resource type="TerrainLibraryMergerPCM" load_steps=12 format=2]
[gd_resource type="TerrainLibraryMergerPCM" load_steps=13 format=2]
[ext_resource path="res://materials/8_standard_material_prop_notex.tres" type="Material" id=1]
[ext_resource path="res://materials/6_standard_material_prop_nouv2.tres" type="Material" id=2]
@ -7,6 +7,7 @@
[ext_resource path="res://textures/world/stone/stone_1_albedo.png" type="Texture" id=5]
[ext_resource path="res://materials/7_standard_material_notex.tres" type="Material" id=6]
[ext_resource path="res://materials/5_standard_material_nouv2.tres" type="Material" id=7]
[ext_resource path="res://materials/liquid_material.tres.tres" type="Material" id=8]
[sub_resource type="TerrainSurfaceMerger" id=1]
texture_top = ExtResource( 3 )
@ -30,6 +31,7 @@ texture_side = ExtResource( 5 )
[resource]
materials = [ ExtResource( 7 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 6 ) ]
liquid_materials = [ ExtResource( 8 ) ]
prop_materials = [ ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 1 ) ]
texture_flags = 1
terra_surfaces = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ]