ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
636 stars 74 forks source link

[Team Fortress 2] r_lightwarpidentity does what mat_disable_lightwarp is supposed to do #2823

Open Whurrhurr opened 5 years ago

Whurrhurr commented 5 years ago

when setting mat_disable_lightwarp to 1 nothing happens at all. it doesn't cause materials to be reloaded either. what i assume it's supposed to do is disable $lightwarptexture on any .vmt that has it.

Whurrhurr commented 4 years ago

finally getting around to updating what this command is supposed to do, as seen in the developer commentary for cp_well (node 17) when jason mitchell talks about using a "traditional shading model" the lightwarp texture on the red heavy weapons guy is removed/disabled, which is what i assume this command/convar is supposed to do. as seen here: https://youtu.be/C-47CwPYL3w?t=677

Whurrhurr commented 2 years ago

i'm going to update this again, r_lightwarpidentity is used in the well dev commentary to disable lightwarps, which is what mat_disable_lightwarp is supposed to do, but it's marked as a cheat command. it disables lightwarptexture on everything without needing to reload the materials like mat_phong does. what i want to suggest now is removing mat_disable_lightwarp, renaming r_lightwarpidentity to r_lightwarp and making it a non-cheat command. image r_lightwarpidentity set to 0 image r_lightwarpidentity set to 1