Is there a way to obtain light intensity information when lighting a surface?

Suppose we create a very basic surface and single-faced lighting.
peaks(10)
light
Is there a way to obtain the matrix indicating light intensity on the surface patches for the current view? Alternatively is there a way to simply obtain the FaceColor attribute which is being applied to the individual patches on the surface (I assume that from subtracting this FaceColor from the unlit FaceColor, we can obtain intensity)?

1 Comment

Hello all. I am having the same issue. Does anyone have any idea to measure the light intensity on each node of a mesh, for a given lighting condition?

Sign in to comment.

Answers (0)

Asked:

on 23 Sep 2015

Commented:

on 6 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!