sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

Higher resolution in material editor preview

Open kawasaniac opened this issue 4 years ago • 6 comments

What can't you do? The maximum size of textures that we can set in material editor's preview is 512x512, so it's pretty annoying when you have to edit textures through the editor.

How would you like it to work? It would be great to set high values at least up to maximum size of biggest texture in material.

What have you tried? Nothing. I'm working with it as it is.

Additional context

kawasaniac avatar Aug 12 '21 20:08 kawasaniac

Bit confused by this one, do you mean the preview of the history? Because that's the setting you showed in discord. If so, I don't know why that would need to be higher than 512. Also what do you mean by editing textures through the editor?

aylaylay avatar Aug 17 '21 04:08 aylaylay

I've personally noticed the main preview being blurry for some unknown reason, maybe's he's confused about the setting and thinks it's for that?

Screenshot preview

The material in the preview should be a lot clearer as it's using 4k textures

SnoByte avatar Aug 17 '21 06:08 SnoByte

Okay that makes more sense, the setting he showed wasn't related to that.

aylaylay avatar Aug 17 '21 07:08 aylaylay

I have pushed a fix that should show the textures at the highest possible quality. This may cause some expensive work to be done when editing but from my tests it's fine. If this actually becomes an issue let me know and I can just make it a setting.

aylaylay avatar Aug 20 '21 10:08 aylaylay

I've had to revert this fix for now, it may be causing the material editor to freeze up for some people.

aylaylay avatar Aug 21 '21 08:08 aylaylay

Just a tip for now, you can click the compiled textures tab to force run the texture streaming

aylaylay avatar Aug 26 '21 08:08 aylaylay