Questions tagged [masking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
51 views

How to retrieve RGBA mask used to transform image1 into image2

Let image1 be: And RGBA mask be: (45, 78, 251, 102) Apply mask on top of ...
1
vote
0answers
53 views

Implementing the derivation of the Smith Shadowing function for arbitrary distributions

I'm trying to implement the derivation of the masking function G_1 by Smith. The appendix of Walter et al 1, Hammons presentation 2 and this research paper 3 talk in detail about it and I feel as I do ...
2
votes
1answer
868 views

How to clip multiple tiled textures to polygon in Webgl / opengl

I have a bunch of planes each with their own texture in a grid. Currently I am rendering these as separate planes, each with their own texture, although I could use a single plane with multiple faces. ...
1
vote
0answers
190 views

Mask out parts of an image in OpenGL ES

I have the following object in the game It is a dial with the little triangle showing what part of the disk is being valued. The dial serves as a controller that sets a variable from 0-1. If the ...
4
votes
1answer
46 views

Why does the G1 term have a 2 in the numerator in Walter's formula, but not in Heitz's generalized formula?

In Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs, Eric Heitz derives the Separable Masking and Shadowing function as (P.83-84): In the mentioned Microfacet Models for ...