Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Snapshot Shaders Pro for Unity

A collection of 34 image effects for Unity URP, HDRP, and Built-in · By Daniel Ilett

Screen resolution inconsistency

A topic by samasmith created Aug 31, 2021 Views: 188 Replies: 2
Viewing posts 1 to 3

I'm wanting to use the Oil Painting shader but am finding that the results change at different resolutions.

For now I'm dynamically setting kernel size based on screen height, however there is a noticeable jump as the integer value changes. I was wondering if there was something that could be changed in the shader, or another Unity workaround.

- I was trying to avoid forcing specific resolutions as to not negatively effect UI visuals.


Thanks so much for the high quality of the shaders :) 

Developer

Hmm, that's an interesting point. I'll look into it and see if I can think of a solution - but currently, it's inherent in the way the shader works that it depends on the screen resolution (you'd see the same thing with the Gaussian Blur shader), so dynamically changing the kernel size probably *is* the workaround. Basically, I think it would potentially require a complete rethink of how the shader works to decouple the effect from resolution.

Cheers for the consideration! Perhaps on my end I could use both dynamic kernal-size, and adjusting resolution w/ cinematic bars at the top and bottom.