Skip to content
Snippets Groups Projects
Commit 9f75a535 authored by Ptolemy's avatar Ptolemy
Browse files

SL-17274: PBR: Add Emissive

parent 254bbc86
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -32,6 +32,7 @@
#define DEBUG_PBR_RAW_SPEC 0 // Output: use spec in G-Buffer
#define DEBUG_PBR_IRRADIANCE 0 // Output: Diffuse Irradiance
#define DEBUG_PBR_DIFFUSE 0 // Output: Radiance Lambertian
#define DEBUG_PBR_EMISSIVE 0 // Output: Emissive
#define DEBUG_PBR_ORM 0 // Output: Packed Occlusion Roughness Metal
#define DEBUG_PBR_OCCLUSION 0 // Output: Occlusion map
#define DEBUG_PBR_ROUGH_PERCEPTUAL 0 // Output: grayscale Perceptual Roughenss
......@@ -203,7 +204,7 @@ void main()
if (hasPBR)
{
vec3 colorDiffuse = vec3(0);
vec3 colorEmissive = vec3(0);
vec3 colorEmissive = texture2DRect(emissiveRect, tc).rgb;
vec3 colorSpec = vec3(0);
// vec3 colorClearCoat = vec3(0);
// vec3 colorSheen = vec3(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment