Blender V5.3
gpu_shader_material_bump.bsl.hh File Reference
#include "gpu_shader_codegen_lib.glsl"
#include "gpu_shader_material_interface.bsl.hh"

Go to the source code of this file.

Functions

void differentiate_texco (float3 v, float3 &df)
void differentiate_texco (float4 v, float3 &df)
void node_bump (float strength, float dist, float filter_width, float height, float3 N, float2 height_xy, float invert, KernelGlobals &kg, const ShadingData &sd, float3 &result)

Function Documentation

◆ differentiate_texco() [1/2]

void differentiate_texco ( float3 v,
float3 & df )

Definition at line 11 of file gpu_shader_material_bump.bsl.hh.

References differentiate_texco().

Referenced by differentiate_texco(), and differentiate_texco().

◆ differentiate_texco() [2/2]

void differentiate_texco ( float4 v,
float3 & df )

Definition at line 19 of file gpu_shader_material_bump.bsl.hh.

References differentiate_texco().

◆ node_bump()

void node_bump ( float strength,
float dist,
float filter_width,
float height,
float3 N,
float2 height_xy,
float invert,
KernelGlobals & kg,
const ShadingData & sd,
float3 & result )