|
Blender V5.3
|
#include "gpu_shader_common_hash.bsl.hh"Go to the source code of this file.
Functions | |
| float2 | calc_brick_texture (float3 p, float mortar_size, float mortar_smooth, float bias, float brick_width, float row_height, float offset_amount, int offset_frequency, float squash_amount, int squash_frequency) |
| void | node_tex_brick (float3 co, float4 color1, float4 color2, float4 mortar, float scale, float mortar_size, float mortar_smooth, float bias, float brick_width, float row_height, float offset_amount, float offset_frequency, float squash_amount, float squash_frequency, float4 &color, float &fac) |
| float2 calc_brick_texture | ( | float3 | p, |
| float | mortar_size, | ||
| float | mortar_smooth, | ||
| float | bias, | ||
| float | brick_width, | ||
| float | row_height, | ||
| float | offset_amount, | ||
| int | offset_frequency, | ||
| float | squash_amount, | ||
| int | squash_frequency ) |
Definition at line 9 of file gpu_shader_material_tex_brick.bsl.hh.
References calc_brick_texture(), clamp(), floor, integer_noise(), min, smoothstep(), float3::x, x, float3::y, and y.
Referenced by calc_brick_texture(), and node_tex_brick().
| void node_tex_brick | ( | float3 | co, |
| float4 | color1, | ||
| float4 | color2, | ||
| float4 | mortar, | ||
| float | scale, | ||
| float | mortar_size, | ||
| float | mortar_smooth, | ||
| float | bias, | ||
| float | brick_width, | ||
| float | row_height, | ||
| float | offset_amount, | ||
| float | offset_frequency, | ||
| float | squash_amount, | ||
| float | squash_frequency, | ||
| float4 & | color, | ||
| float & | fac ) |
Definition at line 50 of file gpu_shader_material_tex_brick.bsl.hh.
References calc_brick_texture(), mix, node_tex_brick(), scale(), float2::x, and float2::y.
Referenced by node_tex_brick().