Mishcatt / VTF-Editor

GNU General Public License v3.0
55 stars 27 forks source link

ability to select amount of mipmaps #8

Open ajloveslily14 opened 5 years ago

ajloveslily14 commented 5 years ago

It'd be nice to have the ability to only have x amount of mipmaps for fading sprays. that way you could have your spray fade slowly or fade fast

ajloveslily14 commented 5 years ago

Actually, I'm wrong. What it needs instead is a "lod" option.

rafradek commented 5 years ago

impossible. This is defined by the engine of the game. The bigger the mipmap is the less drawing range it has

ajloveslily14 commented 5 years ago

That's why I updated it and said an LOD option. With no LOD enabled it's only the far away image and the close image that show

rafradek commented 5 years ago

You can't set render distance of drawn mipmap in the spray file. Mipmap render distance is determined by user settings only . The amount of mipmaps is only determined by the size of the original image. If you want to have less images to show just duplicate them

ajloveslily14 commented 5 years ago

You're missing what I'm saying. In the spray file, when opened with VTFEdit, there's a "no lod" option that when enabled makes it so the spray doesn't fade slowly between the different mipmaps, but rather all at once making it so you have only a near and far image.