Skip to content

Commit

Permalink
Merge pull request #293 from carboncopies/291-fix-line-caused-by-brok…
Browse files Browse the repository at this point in the history
…en-roughness-maps

291 fix line caused by broken roughness maps
  • Loading branch information
datacrystals authored Aug 14, 2022
2 parents f6f1035 + 2bd710a commit eda43b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Source/EditorAssets/Projects/DefaultProject/10041.ERS
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ STRUCT_SampledData SetSampledData() {
SampledData.Roughness = texture(texture_shininess1, Object.TexCoords).r;

} else {
SampledData.Roughness = 0.5f;
SampledData.Roughness = 0.0f;
}

// Handle Emissive Textures
Expand Down Expand Up @@ -870,5 +870,6 @@ void main() {






3 changes: 2 additions & 1 deletion Source/EditorAssets/Projects/NewProject/10041.ERS
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ STRUCT_SampledData SetSampledData() {
SampledData.Roughness = texture(texture_shininess1, Object.TexCoords).r;

} else {
SampledData.Roughness = 0.5f;
SampledData.Roughness = 0.0f;
}

// Handle Emissive Textures
Expand Down Expand Up @@ -870,5 +870,6 @@ void main() {






Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ STRUCT_SampledData SetSampledData() {
SampledData.Roughness = texture(texture_shininess1, Object.TexCoords).r;

} else {
SampledData.Roughness = 0.5f;
SampledData.Roughness = 0.0f;
}

// Handle Emissive Textures
Expand Down Expand Up @@ -870,5 +870,6 @@ void main() {






0 comments on commit eda43b1

Please sign in to comment.