Skip to content
Snippets Groups Projects

Resolve "SAF-R Module"

Merged Ghost User requested to merge 94-saf-r-module into develop
Compare and
8 files
+ 564
0
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 29
0
 
#version 450 core
 
#extension GL_ARB_separate_shader_objects : enable
 
 
struct Material {
 
vec3 diffuse_color;
 
vec3 albedo;
 
float specular_exponent;
 
};
 
 
layout(std430, binding = 0) coherent buffer Lights{
 
vec3 position [];
 
float intensity [];
 
};
 
 
layout(std430, binding = 1) coherent buffer Materials{
 
vec3 diffuse_color;
 
vec3 albedo;
 
float specular_exponent;
 
};
 
 
layout(std430, binding = 2) coherent buffer Spheres{
 
vec3 center;
 
float radius;
 
Material material;
 
};
 
 
void main(){
 
int i = 42;
 
}
 
\ No newline at end of file
Loading