Skip to content

Commit

Permalink
PBRLightingParamsReader.glsllib: fix by Ryan
Browse files Browse the repository at this point in the history
  • Loading branch information
capdevon committed Feb 24, 2024
1 parent 17a9651 commit d01eba8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/resources/ShaderLib/PBRLightingParamsReader.glsllib
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#import "Common/ShaderLib/Parallax.glsllib"

varying vec4 Color;

#ifdef BASECOLORMAP
uniform sampler2D m_BaseColorMap;
Expand Down Expand Up @@ -79,8 +76,8 @@ uniform float m_Metallic;
uniform float m_StaticSunIntensity;
#endif

//void readMatParamsAndTextures(in mat3 tbnMat, in vec3 vViewDir, inout vec4 albedo, inout float Metallic, inout float Roughness, inout vec4 SpecularColor, inout float glossiness, inout vec3 lightMapColor, inout vec3 ao, inout vec3 normal, inout vec4 emissive, inout float alpha){
void readMatParamsAndTextures(){
void readMatParamsAndTextures(in mat3 tbnMat, in vec3 vViewDir, inout vec4 albedo, inout float Metallic, inout float Roughness, inout vec4 SpecularColor, inout float glossiness, inout vec3 lightMapColor, inout vec3 ao, inout vec3 normal, inout vec4 emissive, inout float alpha){
//void readMatParamsAndTextures(){
#if (defined(PARALLAXMAP) || (defined(NORMALMAP_PARALLAX) && defined(NORMALMAP)))
#ifdef STEEP_PARALLAX
#ifdef NORMALMAP_PARALLAX
Expand Down

0 comments on commit d01eba8

Please sign in to comment.