Tweaking Water shader and material
This commit is contained in:
parent
ad2fd38a42
commit
3696147038
2 changed files with 22 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bkcvep4ijijmc"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bkcvep4ijijmc"]
|
||||
|
||||
[ext_resource type="Shader" path="res://maps/shaders/water.gdshader" id="1_j5guc"]
|
||||
[ext_resource type="PackedScene" uid="uid://ip4lkyho0gry" path="res://maps/water_space.tscn" id="2_nnfoe"]
|
||||
|
@ -6,6 +6,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://b8tu2ncerig3r" path="res://maps/textures/water_normal_b.png" id="4_gohr5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dv1ywlb7inqyu" path="res://maps/textures/water_uv_sampler.png" id="5_uyeqp"]
|
||||
|
||||
[sub_resource type="Texture2DArray" id="Texture2DArray_um4oc"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tfcq0"]
|
||||
render_priority = 0
|
||||
shader = ExtResource( "1_j5guc" )
|
||||
|
@ -21,12 +23,13 @@ shader_param/foam_level = 0.0
|
|||
shader_param/refraction = 0.075
|
||||
shader_param/color_deep = Color(0.0117647, 0.380392, 0.564706, 1)
|
||||
shader_param/color_shallow = Color(0, 0.486275, 0.564706, 1)
|
||||
shader_param/beers_law = 0.8
|
||||
shader_param/depth_offset = -1.5
|
||||
shader_param/beers_law = 2.0
|
||||
shader_param/depth_offset = 0.0
|
||||
shader_param/projector = null
|
||||
shader_param/uv_sampler = ExtResource( "5_uyeqp" )
|
||||
shader_param/normalmap_a_sampler = ExtResource( "3_vwt8h" )
|
||||
shader_param/normalmap_b_sampler = ExtResource( "4_gohr5" )
|
||||
shader_param/caustic_sampler = SubResource( "Texture2DArray_um4oc" )
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_uh76x"]
|
||||
material = SubResource( "ShaderMaterial_tfcq0" )
|
||||
|
|
Loading…
Reference in a new issue