|
Blender V5.3
|
#include "gpu_shader_compat.hh"#include "workbench_defines.hh"#include "workbench_shader_shared.hh"Go to the source code of this file.
Classes | |
| struct | workbench::World |
Namespaces | |
| namespace | workbench |
Macros | |
| #define | EPSILON 0.00001f |
| #define | CAVITY_BUFFER_RANGE 4.0f |
| #define | TARGET_BITCOUNT 8u |
| #define | METALLIC_BITS 3u |
| #define | ROUGHNESS_BITS (TARGET_BITCOUNT - METALLIC_BITS) |
Functions | |
| float3 | workbench::normal_decode (float4 enc) |
| float2 | workbench::normal_encode (bool front_face, float3 n) |
| float | workbench::float_pair_encode (float v1, float v2) |
| void | workbench::float_pair_decode (float data, float &v1, float &v2) |
| #define CAVITY_BUFFER_RANGE 4.0f |
Definition at line 14 of file workbench_common.bsl.hh.
| #define EPSILON 0.00001f |
Definition at line 12 of file workbench_common.bsl.hh.
| #define METALLIC_BITS 3u |
Definition at line 47 of file workbench_common.bsl.hh.
| #define ROUGHNESS_BITS (TARGET_BITCOUNT - METALLIC_BITS) |
Definition at line 48 of file workbench_common.bsl.hh.
Referenced by workbench::float_pair_decode(), and workbench::float_pair_encode().
| #define TARGET_BITCOUNT 8u |
Definition at line 46 of file workbench_common.bsl.hh.