Moderators: Nexuiz Moderators, Moderators
esteel wrote:Iirc its environment mapping from a shader. Take a look at the glass texture and shader in warfare..
esteel wrote:You need a shader similar to this one:
textures/dsi/dsiglass
{
qer_editorimage textures/dsi/dsiglass2.tga
surfaceparm trans
cull disable
qer_trans 0.5
{
map textures/dsi/dsiglass2.tga
blendfunc add
//rgbGen vertex
tcgen environment
tcmod scale 4 4
}
}
.. i guess if i were more into mapping i could help more..
textures/moonstone/marmor-1
{
qer_editorimage textures/moonstone/marmor-boden1.tga
surfaceparm metalsteps
{
map textures/moonstone/tinfx_scr.tga
tcGen environment
blendFunc GL_ONE GL_ZERO
rgbGen identity
}
{
map textures/moonstone/marmor-boden1.tga
blendFunc blend
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
Rad Ished wrote:This texture caught my eye too, so I decompiled the .bsp and found this:textures/moonstone/marmor-1
{
qer_editorimage textures/moonstone/marmor-boden1.tga
surfaceparm metalsteps
{
map textures/moonstone/tinfx_scr.tga
tcGen environment
blendFunc GL_ONE GL_ZERO
rgbGen identity
}
{
map textures/moonstone/marmor-boden1.tga
blendFunc blend
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
To see the textures involved look in the pk3
Users browsing this forum: No registered users and 1 guest