Sprite Scaling Problem

The_Gl!tch.exe

L3: Member
Apr 3, 2018
114
3
Hello there,
I'm having problems with scaling env_sprite entities.
Whenever I scale them to the right size in Hammer, that parameter gets ignored when I want to turn big sprites small.
It does work when scaling small sprites to big ones, but the sprite material will appear blurry.

This is how the sprites are scaled in Hammer:
hammer2.JPG
hammer.JPG


This is how they look in-game:
20220928192501_1.jpg
20220928192513_1.jpg


Is there a way to fix this? Or is there a limit for the sprite scaling parameter?
Or is it impossible to turn big sprites small?
 

SuperLuxDeluxe

L3: Member
Mar 13, 2021
118
273
Hello, just want to say we're much more active on our Discord server and you'll probably get help there quicker.

That much being said, what do your VTFs and VMTs look like for these sprites? There should be a flag for the vtf called "Point Sample" that should prevent the texture from getting blurry when scaled. Also, please show the settings you have for the env_sprites.
 

The_Gl!tch.exe

L3: Member
Apr 3, 2018
114
3
I sort of figured out that you can only use the scale parameters 0.25, 0.75 and 1.0
Anything in between gets automatically resized to a different value.
In my case my 0.375-scaled sprite got changed to 0.25 and started floating in the air, while the 0.75 and 1.0 scaled sprites keep their size.
20221002170838_1.jpg

The textures have already been changed to ~100x100 pixels

These are my settings:
settings.JPG