x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Detect Back Faces

Hey there,

I have a shader cutting geometry using alpha test, and I am trying to fill this gaps. I tried various methods, but nothing kinda worked.

I've got another idea which would use a postprocess material to lerp between the sceneColor and a customColor to fill those gaps, but I miss the alpha to perform this lerp operation. As an alpha for this operation I thought to use the TwoSided sign to check if the pixel I am rendering is a backface, but it doesn't seem to be possible in a postprocess material. Is there a way that I can know if a pixel is a backface in the postprocess material? If not, can I write to a custom postprocess input in the object shader so I can use it later in the postprocess one?

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Mar 23 '19 at 10:49 PM in Rendering

avatar image

Iacopo Antonelli
8 3 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question