Facepunch / sbox-issues

176 stars 12 forks source link

Higher resolution in material editor preview #673

Open kawasaniac opened 3 years ago

kawasaniac commented 3 years ago

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

aylaylay commented 3 years ago

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?

SnoByte commented 3 years ago

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

aylaylay commented 3 years ago

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

aylaylay commented 3 years ago

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 commented 3 years ago

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

aylaylay commented 3 years ago

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