Files
puzzle-quest/assets/props/candle/materials/MA_candle.material
T

35 lines
1.1 KiB
Plaintext
Raw Normal View History

RSRCShaderMaterialÿÿÿÿÿÿÿÿ resource_local_to_sceneresource_namecodescriptrender_priority
next_passshadershader_parameter/tex_frg_2shader_parameter/tex_frg_3local://Shader_lsmq3ˆ7res://assets/props/candle/materials/MA_candle.materialíShaderBshader_type spatial;
render_mode blend_mix, depth_draw_opaque, depth_test_default, cull_back, diffuse_lambert, specular_schlick_ggx;
uniform sampler2D tex_frg_2 : source_color;
uniform sampler2D tex_frg_3 : hint_normal;
void fragment() {
// Texture2D:2
vec4 n_out2p0 = texture(tex_frg_2, UV);
// FloatConstant:8
float n_out8p0 = 0.000000;
// FloatConstant:9
float n_out9p0 = 0.870000;
// Texture2D:3
vec4 n_out3p0 = texture(tex_frg_3, UV);
// Output:0
ALBEDO = vec3(n_out2p0.xyz);
METALLIC = n_out8p0;
ROUGHNESS = n_out9p0;
NORMAL = vec3(n_out3p0.xyz);
}
ShaderMaterialRSRC