Issues.00346 - lordmundi/wikidoctest GitHub Wiki

00346: Sometimes bumpmap shading is inverted on some triangles

« 00345 | Issues | 00347 »

Summary: Sometimes bumpmap shading is inverted on some triangles

Created: 2011–05–06 09:52

Status: Released

Category: Bug

From: brad

Version: 2.1

Released_In: 2.2

Description:

It appears that some triangles compute the normal incorrectly when using a bump map especially when the bumpmap is applied using a non-linear mapping like spherical mapping.


Comments

brad May 06, 2011, at 10:01 AM This has been fixed, it required correction to the way the tangent space coordinate system was being computed which was wrong for left-handed mappings.


« 00345 | Issues | 00347 »

Associated Commits

| commit | fad3c2904f9bc1f3c1a49caf8b9c991e2f5b5453 link5 | || | Author: | Brad Bell | | Date: | Fri May 6 09:58:09 2011 -0500 | | Message: | [@Issue 00346: corrected computation of bumpmap tangent space to account for left-handed mapping @] |

Affected Files:

shaders/bmpmap.fs    | 4 +±-
 shaders/texbmpmap.fs | 4 +±-
 2 files changed, 4 insertions(+), 4 deletions(-)