Kohi Game Engine
base_material_shader_data Struct Reference

#include <kmaterial_renderer.h>

Data Fields

u32 metallic_texture_channel
 
u32 roughness_texture_channel
 
u32 ao_texture_channel
 
u32 lighting_model
 The material lighting model. More...
 
u32 flags
 
u32 tex_flags
 
f32 refraction_scale
 
u32 material_type
 
vec4 base_colour
 
vec4 emissive
 
vec3 normal
 
f32 metallic
 
vec3 mra
 
f32 roughness
 
vec3 uv_offset
 
f32 ao
 
vec3 uv_scale
 
f32 emissive_texture_intensity
 

Field Documentation

◆ ao

f32 ao

◆ ao_texture_channel

u32 ao_texture_channel

◆ base_colour

vec4 base_colour

◆ emissive

vec4 emissive

◆ emissive_texture_intensity

f32 emissive_texture_intensity

◆ flags

u32 flags

◆ lighting_model

u32 lighting_model

The material lighting model.

◆ material_type

u32 material_type

◆ metallic

f32 metallic

◆ metallic_texture_channel

u32 metallic_texture_channel

◆ mra

vec3 mra

◆ normal

vec3 normal

◆ refraction_scale

f32 refraction_scale

◆ roughness

f32 roughness

◆ roughness_texture_channel

u32 roughness_texture_channel

◆ tex_flags

u32 tex_flags

◆ uv_offset

vec3 uv_offset

◆ uv_scale

vec3 uv_scale

The documentation for this struct was generated from the following file: