Renderer/assets/Shaders/lib/material.fs
2025-05-19 23:01:57 -04:00

41 lines
530 B
GLSL

/**
* A material
*/
struct Material {
/**
* The diffuse sampler
*/
sampler2D diffuse;
/**
* The diffuse sampler
*/
sampler2D specular;
/**
* The normal sampler
*/
sampler2D normal;
/**
* The reflection map
*/
sampler2D parallax;
/**
* The shininess value
*/
float shininess;
/**
* The reflectivity value
*/
float reflectivity;
/**
* The albedo of the material
*/
vec3 albedo;
};