View Issue Details

IDProjectCategoryView StatusLast Update
0002098FSSCPgraphicspublic2010-01-20 13:23
Reporternewman Assigned Tokarajorma  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version3.6.11 
Summary0002098: Normal map inverted UVWs shader bug
DescriptionI was able to confirm that all fs2 builds I used (in this case 3.6.11 on Diaspora but the problem should be reproducable on any fs2 based project) will shade things differently on mirrored / inverted UVWs, when normal maps are being used (specs and diffuse only work fine). For example, say you just have a plane with a diffuse, spec, and normal map. Inside the plane, you have an inset rectangle. Since it's part of the mesh, it all renders like it's a single plane inside the game, as it should. However, if you invert the UVWs of the said rectangle (but make the texture match), the shading on that part will be completely different and won't match the surroundings.
Additional InformationIn order to help with testing, I have created a test pof with speculars, normals, and shine maps. It is a simple cube, each of the 6 sides has one inset polygon. 4 of the inset polygons have inverted UVWs while the top and bottom ones do not.
Pic: http://i48.tinypic.com/oz141.jpg

Pic of a side with inverted UVWs, normal mapping onm in the lab: http://i45.tinypic.com/32zu904.jpg

Pic of that same side with normal mapping off, same angle, in the lab: http://i45.tinypic.com/32zu904.jpg

I'm attaching a rar with the cube's pof file, diffuse spec and normal maps, and the table entry. I'm hoping it will help in diagnosing and fixing this issue.
TagsNo tags attached.

Activities

2010-01-20 10:24

 

karajorma

2010-01-20 13:23

administrator   ~0011544

Turns out this is a data issue as explained here.

http://www.hard-light.net/forums/index.php?topic=67657.msg1332553#new

Issue History

Date Modified Username Field Change
2010-01-20 10:24 newman New Issue
2010-01-20 10:24 newman File Added: shader bug testing cube.rar
2010-01-20 13:23 karajorma Note Added: 0011544
2010-01-20 13:23 karajorma Status new => resolved
2010-01-20 13:23 karajorma Resolution open => no change required
2010-01-20 13:23 karajorma Assigned To => karajorma