Jump to content

Home

Quick Shader Question...


Marker0077

Recommended Posts

I have a model that i want to hide the default skin from. There are actually 3 default skins for this model (as well as blue & red) (1 is ANH, ESB, & RotJ), but the thing is I don't want the same skin showing up twice on the player model select menu, so what I want to do is use a shader to make the icon (from another image not using an icon_whatever name) instead of an actual icon jpg.

 

Currently I have the shader like...

models/players/player_model/icon_default

{

qer_editorimage models/players/player_model/icon_default

{

animMap 0.0077 models/players/player_model/player_model_icon

blendFunc GL_ONE GL_ZERO

}

}

I don't know anything about shaders really & I normally use this to do slideshow images for certain icons. This is working, however, in low detail the avatar icon is fuzzy & I was curious if perhaps there was a better way to do this.

Link to comment
Share on other sites

In the top level, under

qer_editorimage models/players/player_model/icon_default

put either

nopicmip

or

nomipmap

 

... maybe both - but that should do it for ya. It prevents the graphics card from making 'low-res' versions of that image if you have the graphics settings turned way down.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...