Blender V5.3
gpu_shader_material_tex_brick.bsl.hh File Reference

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)

Function Documentation

◆ calc_brick_texture()

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 )

◆ 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 )