Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

Unlock mat_picmip (allow -10)

Open shoober420 opened this issue 13 years ago • 21 comments

Could you please unlock the mat_picmip cvar so we can use "-10" again? It really makes some textures look more detailed. We should be allowed to adjust mat_picmip via console, to our own peril. There is no reason to lock this cvar. I made a thread about this on the Steam forum with pictures and videos of how much better -10 can make some textures look.

http://forums.steampowered.com/forums/showthread.php?t=2018459

shoober420 avatar Sep 27 '13 12:09 shoober420

Was this locked because it lets you cheat?

alfred-valve avatar Sep 27 '13 22:09 alfred-valve

@alfred-valve It was actually clamped due to fear of stability problems, it was when the Mac update came out.

BreakinBenny avatar Sep 27 '13 22:09 BreakinBenny

Dupe of https://github.com/ValveSoftware/Source-1-Games/issues/699

ghost avatar Sep 27 '13 22:09 ghost

@alfred-valve and apparently needed sv_cheats 1 to run it... Please change this so we can make games look better on high end pcs and steam machines.

snapchipper avatar Sep 28 '13 14:09 snapchipper

@Lambda- I really don't know, but how is Source Filmmaker capable of handling it without much hassle? May as well allow POSITIVE values as well for those in desperate need of performance and making phong a seperate option.

..There was this lowend.cfg in Left 4 Dead, which had special values like disabling shadows from worldlights, multiplying the particle fallbacks and even disabling the phong itself. (Now, what about the system_level 0 convar?)

BreakinBenny avatar Sep 28 '13 15:09 BreakinBenny

@BreakinBarry At launch, SFM was able to run on Intel Integrated Graphics.

snapchipper avatar Sep 28 '13 16:09 snapchipper

@BreakinBarry oh and mat_phong 0, but this causes glitches in TF2 related to über materials.

snapchipper avatar Sep 28 '13 16:09 snapchipper

@BreakinBenny oops read the comments above

snapchipper avatar Sep 28 '13 16:09 snapchipper

@Lambda- Then what about the mysterious "system_level" ConVar?

BreakinBenny avatar Sep 28 '13 17:09 BreakinBenny

If using mat_picmip with a value of "-10" does indeed decrease stability, it still is our choice to take the risk. It doesn't give an unfair advantage in any way. I really hope Valve considers unlocking this command again. It will only make there games shine even more with there nice graphics.

shoober420 avatar Sep 29 '13 02:09 shoober420

I'm also supporting this. Source 1 games are old now and most of the systems can handle mat_picmip -10.

Rupurudu avatar Sep 29 '13 11:09 Rupurudu

It should be locked at -11. I agree with @MustafaCan, most of the systems can handle such values today.

Triang3l avatar Sep 30 '13 09:09 Triang3l

..First, the Direct3D has to go. OpenGL is definitely more practical despite being harder to work with.

@SiPlus Wow man, up to eleven? Go ahead and see what happens. Just avoid throwing multiple nine's or the games'll go crazy.

BreakinBenny avatar Sep 30 '13 14:09 BreakinBenny

The real problem is that there are textures in the games that require a picmip value of less than -1 in the first place. What was the point of using higher-res textures than the game is designed to display without console commands?

stevethepocket avatar Oct 08 '13 00:10 stevethepocket

@BreakinBenny Multiple nines won't work. And no, it should be locked at -12, not as -11. 4096 is the maximum for each dimension of texture size in DirectX 9, so MIP level can be only in [0;12] range. For DX8 shader API, as far as I know, it's 1024, so MIP is in [0;10]. There are also some bits of DX10 shader API in Source 2007, and it's [0;13] there.

Cubemaps have different limits. I don't know the max cubemap side size for DX8, but it's 512x512 for DX9 and 4096x4096 for DX9c. Since DX9c, the max cubemap side size is the same as the max 2D texture size.

Triang3l avatar Oct 08 '13 04:10 Triang3l

@SiPlus

I always thought the only values allowed for mat_picmip were 10 to -10. Are you telling me that using -12 or even -13 can be used?

shoober420 avatar Oct 09 '13 22:10 shoober420

It's between -log2(HardwareConfig()->MaxTextureWidth()) and log2(HardwareConfig()->MaxTextureWidth()), I think. EDIT: No, it was between -10 and 4. But log2 would allow more values. And -10 is invalid for DX8, as far as I know. EDIT 2: Apparently there is a reason for adding the 4 higher bound: pVTFTexture->Init( 32, 32, 1, IMAGE_FORMAT_BGRA8888, m_nFlags, 1 ); // ... // NOTE: For mat_picmip to work, we must use the same size (32x32) // Which should work since every card can handle textures of that size

Triang3l avatar Oct 10 '13 16:10 Triang3l

@SiPlus I was joking, alright? Just wanted to make sure you wouldn't be crazy enough to fall for my reverse psychology.

..And shoober420? Nope, there's only from 10 (lowest) to -10 (highest)

BreakinBenny avatar Oct 10 '13 20:10 BreakinBenny

Valve, please unlock this command. PLEEEEEEEEEEEASE. I wants sharp textures.

shoober420 avatar Oct 10 '13 21:10 shoober420

-10 PICZMIPZ

shoober420 avatar Nov 08 '13 00:11 shoober420