GNOME Bugzilla – Bug 300122
The lighting effects plug-in gives wrong results with bumpmap and environment map
Last modified: 2005-04-26 18:00:54 UTC
How to reproduce: 1. create a new image 2. add a layer for the environment map, e.g. Solid Noise mapped to a golden gradient 3. add a layer for the bumpmap, e.g. blurred what text on a black background 4. add some layers to play on, e.g. white, black and transparent 5. Use Lighting effects with the following settings (not all of them might be relevant): - transparent background - high quality preview - one directional light - bumpmap with the layer from step 3 - environment map with the layer from step 2 6. update the preview if needed For some layers, this will already show the problem. 7. Apply the plug-in There are different possible results, the most common is a colored streak behind the letters of the bumpmap. I'll attach an image that shows the problem.
Created attachment 45109 [details] Example of a possible result
Created attachment 45110 [details] .xcf.gz file with all layers mentioned in this report, and the results for different layers
Thanks for the info. The basic problem turned out to be a simple typo, but I also took the chance to work in some changes that should make env mapping perform a bit more like it ought to. 2005-04-11 Bill Skaggs <weskaggs@primate.ucdavis.edu> * plug-ins/Lighting/lighting_shade.c: Fix typo responsible for bug #300122, also revise env-mapping code to make it perform better.
*** Bug 302075 has been marked as a duplicate of this bug. ***