Renderer/assets/Shaders/lib/material.fs
austin ddb1145cb8
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
break out shader material into dedicated lib file
2025-05-19 11:36:29 -04:00

36 lines
441 B
GLSL

/**
* A material
*/
struct Material {
/**
* The diffuse sampler
*/
sampler2D diffuse;
/**
* The diffuse sampler
*/
sampler2D specular;
/**
* The shininess value
*/
float metallic;
/**
* The shininess value
*/
float roughness;
/**
* The shininess value
*/
float ior;
/**
* The shininess value
*/
float alpha;
};