|
tdm_carpetHD.mtr (10,298 bytes)
//=========================================================rugs===========================================================
//Author: Aluminumhaste
textures/darkmod/carpet/rugs/base_carpet_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/base_carpet_ed
diffusemap textures/darkmod/carpet/rugs/base_carpet_d
bumpmap textures/darkmod/carpet/rugs/base_carpet_local
//specularmap textures/darkmod/carpet/rugs/base_carpet_s
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/base_carpet_d
rgb 0.15 * parm11
}
}
//Author: Aluminumhaste
textures/darkmod/carpet/rugs/carpet_simplepattern_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/carpet_simplepattern_ed
diffusemap textures/darkmod/carpet/rugs/carpet_simplepattern_d
bumpmap textures/darkmod/carpet/rugs/carpet_simplepattern_local
//specularmap textures/darkmod/carpet/rugs/base_carpet_s
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/carpet_simplepattern_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/rugs/ornate_green_black01_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/ornate_green_black01_HD_ed
diffusemap textures/darkmod/carpet/rugs/ornate_green_black01_HD_d
bumpmap textures/darkmod/carpet/rugs/ornate_green_black01_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/ornate_green_black01_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/rugs/ornate_vines_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/ornate_vines_ed
diffusemap textures/darkmod/carpet/rugs/ornate_vines_HD_d
bumpmap textures/darkmod/carpet/rugs/ornate_vines_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/ornate_vines_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/rugs/ornate_red_tan01_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/ornate_red_tan01
diffusemap textures/darkmod/carpet/rugs/ornate_red_tan01_HD_d
bumpmap textures/darkmod/carpet/rugs/ornate_red_tan01_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/ornate_red_tan01_HD
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/rugs/ornate_red_tan02_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/rugs/ornate_red_tan02_HD_ed
diffusemap textures/darkmod/carpet/rugs/ornate_red_tan02_HD_d
bumpmap textures/darkmod/carpet/rugs/ornate_red_tan02_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/rugs/ornate_red_tan02_HD_d
rgb 0.15 * parm11
}
}
//=========================================================runners========================================================
textures/darkmod/carpet/runners/ornate_blue_white_end_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/ornate_blue_white_end_HD_ed
diffusemap textures/darkmod/carpet/runners/ornate_blue_white_end_HD_d
bumpmap textures/darkmod/carpet/runners/ornate_blue_white_end_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/ornate_blue_white_end_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/ornate_blue_white_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/ornate_blue_white_ed
diffusemap textures/darkmod/carpet/runners/ornate_blue_white_HD_d
bumpmap textures/darkmod/carpet/runners/ornate_blue_white_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/ornate_blue_white_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/geometric01_red_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/geometric01_red_ed
diffusemap textures/darkmod/carpet/runners/geometric01_red_HD
bumpmap textures/darkmod/carpet/runners/geometric01_red_local_HD
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/geometric01_red_HD
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/geometric01_red_end_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/geometric01_red_end_ed
diffusemap textures/darkmod/carpet/runners/geometric01_red_end_HD_d
bumpmap textures/darkmod/carpet/runners/geometric01_red_end_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/geometric01_red_end_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/geometric02_red_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/geometric02_red_ed
diffusemap textures/darkmod/carpet/runners/geometric02_red_HD_d
bumpmap textures/darkmod/carpet/runners/geometric02_red_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/geometric02_red_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/geometric02_red_end_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/geometric02_red_end_ed
diffusemap textures/darkmod/carpet/runners/geometric02_red_end_HD_d
bumpmap textures/darkmod/carpet/runners/geometric02_red_end_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/geometric02_red_end_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/ornate_red_black03_end_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/ornate_red_black03_end_ed
diffusemap textures/darkmod/carpet/runners/ornate_red_black03_end_HD_d
bumpmap textures/darkmod/carpet/runners/ornate_red_black03_end_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/ornate_red_black03_end_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/ornate_black_white_end_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/ornate_black_white_end_HD_ed
diffusemap textures/darkmod/carpet/runners/ornate_black_white_end_HD_d
bumpmap textures/darkmod/carpet/runners/ornate_black_white_end_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/ornate_black_white_end_HD_d
rgb 0.15 * parm11
}
}
textures/darkmod/carpet/runners/ornate_black_white_HD
{
surftype15
description "carpet"
qer_editorimage textures/darkmod/carpet/runners/ornate_black_white_HD_ed
diffusemap textures/darkmod/carpet/runners/ornate_black_white_HD_d
bumpmap textures/darkmod/carpet/runners/ornate_black_white_HD_local
{
if ( parm11 > 0 )
blend gl_dst_color, gl_one
map _white
rgb 0.40 * parm11
}
{
if ( parm11 > 0 )
blend add
map textures/darkmod/carpet/runners/ornate_black_white_HD_d
rgb 0.15 * parm11
}
}
|
|
|
Uploaded the editor image file also |
|
|
Reproduced the problem. It seems to be specific to the DDS format; converting to a TGA and saving into textures/... rather than dds/textures/... results in correct rendering. Not confirmed whether the problem is caused by image dimensions or something else. |
|
|
Resized the DDS to 2048x1024 and it renders fine, so it does appear that NPOT dimensions are the problem. |
|
|
Shit, I forgot to mention that I tried that already and it works. |
|
|
Fixed in dbcaf84578c9e1fda9896dc8c4dcb021bbc14cad |
|