Thursday, June 30, 2022
HomeGame Developmentunity - Single pixel disappears in outlining shader

unity – Single pixel disappears in outlining shader


I’ve just lately (11 hours in the past, to be exact😅) began to work with shaders and it is going fairly effectively. I’ve created a easy shader to create an overview and I examined it on a easy object to see the way it works and here is the end result:

  • the unique object (in photoshop)

original obj

  • the article in unity with shader

shaded obj

As you’ll be able to see, one of many blue pixels is almost gone however I have not discovered the rationale. here is my shader (there are another objects in preview which aren’t related to the present query):

shader setting

I am additionally undecided why the left and proper borders are thicker than the highest and backside borders.

As that is my first query about shaders, I’ll not have included each wanted piece of data, so be at liberty to ask something you want.

Edit: I’ve simply discovered this error in Pixel Excellent Digital camera part, could also be associated to the difficulty:

pixel perfect camera

I attempted to exchange the part with “pixel excellent digital camera (experimental)” and the error was gone however the end result did not change.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments