Issues.00341 - lordmundi/wikidoctest GitHub Wiki

00341: Request to add ability to use a different repeat (uv scaling) on bump maps than texture map.

« 00340 | Issues | 00342 »

Summary: Request to add ability to use a different repeat (uv scaling) on bump maps than texture map.

Created: 2011–04–25 11:14

Status: Released

Category: Request

From: brad

Version: 2.1

Released_In: 2.2

Description:

Some times it is desirable to have a bump map which is different than the color texture map and have it repeat at a higher or lower frequency than the color texture map like gravel/dust as a bump map on a textured astroid.


Comments

brad April 25, 2011, at 11:25 AM this has been implemented as an additional command in the MATERIAL_TEXTURES block called bumpmap_uvscale(,) which if not specified defaults to bumpmap_scale(1.0,1.0) which was the default behavoir before.


« 00340 | Issues | 00342 »

Associated Commits

| commit | 2d7cdc417ee2c81bc436c42cb22e73889a3f8fa7 [link] | || | Author: | Brad Bell | | Date: | Mon Apr 25 11:20:39 2011 -0500 | | Message: | [@Issue 00341: added ability to specify texture coordinate scalling terms when doing bump maps @] |

Affected Files:

plugin_Darwin/dsp_speedtest3.so    | Bin 691340 -> 696192 bytes
 plugin_Linux_FC3/dsp_speedtest3.so | Bin 761200 -> 766981 bytes
 plugin_Win32/dsp_speedtest3.dll    | Bin 990858 -> 995379 bytes
 shaders/bmpmap.fs                  |   7 +++±--
 shaders/texbmpmap.fs               |  14 +++++++±-----
 5 files changed, 12 insertions(+), 9 deletions(-)

| commit | 21a89fd5359557e19cc344ee9eaa86224d3ef03d [link] | || | Author: | Brad Bell | | Date: | Mon Apr 25 11:17:46 2011 -0500 | | Message: | [@EDGE issue 00341: added ability to specify a uv scaling term that is applied to the bump map lookup @] |

Affected Files:

shaders/bmpdustmap.fs        |  12 ±
 shaders/bmpmap.fs            |   7 ±
 shaders/texbmpdustmap.fs     |  14 ±
 shaders/texbmpmap.fs         |  14 ±
 src/plugins/dsp_speedtest3.c | 303 +++++++++++++++++++++++++++++++++++++++++±
 5 files changed, 326 insertions(+), 24 deletions(-)
⚠️ **GitHub.com Fallback** ⚠️