View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002098 | FSSCP | graphics | public | 2010-01-20 10:24 | 2010-01-20 13:23 |
Reporter | newman | Assigned To | karajorma | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Product Version | 3.6.11 | ||||
Summary | 0002098: Normal map inverted UVWs shader bug | ||||
Description | I 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 Information | In 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. | ||||
Tags | No tags attached. | ||||
2010-01-20 10:24
|
|
|
Turns out this is a data issue as explained here. http://www.hard-light.net/forums/index.php?topic=67657.msg1332553#new |
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 |