Creating photo-adaptive facades or building envelopes is a logic and technique I have used several times. I helped out a friend last week on the same topic, so I thought of assembling a GH definition to share a similar routine.. In this case a random surface gets tessellated and then perforated accordingly to the reflection sun angle on the surface… Angles closer to zero degrees (vertical to the surface normal) provides as with darker panel. On the other hand greater angles, enable larger solar penetration.
The solar environment is fully parameterized, plus the surface has a variable thickness and panelization. A toggle switch enables the Catmull-Clarck smoothing of the final geometry.
Download the definition from here