Texture specify filtering (non filter texture)

Post » Tue May 07, 2013 5:25 am

I'm searching for texture script-program which display in game selectioned texture with non mipmapped filter, just "nearest". For simple I want textures with non-blurry pixels.

For example in secret DOOM room in RAGE we got such textures with big, nice pixels, but there are no shadows. Using these textures on brushes causes the brushes have no shadows. Program looks like this:

textures/doom1/comp_screens_01
{
{
qer_editorimage textures/doom1/comp_screens_01
transmap nearest textures/doom1/comp_screens_01
stageProgram basicBlendDepthTest
}
}

I want to use only diffusemap, nothing else. For example in QUAKE secret room textures program looks like this:

textures/quake/wiz1_4
{
powerMip 0
editorMap textures/quake/wiz1_4.tga
diffusemap textures/quake/wiz1_4
}

It's fine, brushes have shadows but textures are blurry.

If I use "transmap nearest" on texture program, it will pure black on render screen. I was trying in various modifications, but I can't reach my intentions.

How to make textures with none mipmap filter?
User avatar
Charles Weber
 
Posts: 3447
Joined: Wed Aug 08, 2007 5:14 pm

Return to Othor Games