Skip to content

Commit 839e0e5

Browse files
authored
Update README.md
1 parent 3753c57 commit 839e0e5

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# LightmapProbeGrid
2-
![LightmapProbeGrid](https://github.com/user-attachments/assets/8d94f78a-b288-44a5-9050-fc3e8c266bb0)
2+
<p align="center" width="100%">
3+
<img width="600px" src="https://github.com/user-attachments/assets/8d94f78a-b288-44a5-9050-fc3e8c266bb0">
4+
</p>
35

46

57
Create a grid of Lightmap Probes and cut unwanted ones!
@@ -50,16 +52,31 @@ This method is designed to cut probes that are placed beyond visual limits such
5052

5153
On LightmapProbeGrid Inscpector click on "Cut Obstructed Probes". It will test each Light Probe from the center of the grid to the probe and see if the line intercepts an object. The probe will be cut if there's something blocking the line.
5254

55+
<p align="center" width="100%">
56+
<img width="600px" src="https://github.com/user-attachments/assets/c03287bc-630e-48ce-ab58-8aacbe6f44ac">
57+
</p>
58+
59+
5360
## Cut probes inside objects
5461
This method is designed to delete probes that are inside objects. It will test all 6 axis of each Light Probe: Up, Down, Left, Right, Forward and Backward by the distance indicated in `Max Object Size`.
5562

5663
If at least 4 of these lines hit something the probe will be cut. It considers only 4 hits to cut probes on long objects like pillars and trees.
5764

65+
<p align="center" width="100%">
66+
<img width="450px" src="https://github.com/user-attachments/assets/4d11293d-a129-4f4f-af84-75552cdc113a">
67+
</p>
68+
69+
5870
## Cut probes far from objects
5971
This method is designed to delete probes that are far away from any object. Normally these probes don't contain any relevant light information but use with care in places that have a high usage of spotlights.
6072

6173
When you click the button the area around the Light Probe is tested on various directions by the distance indicated in `Max Distance`. The probe will be cut if none of the rays intercept an object.
6274

75+
<p align="center" width="100%">
76+
<img width="600px" src="https://github.com/user-attachments/assets/c2195e0c-efcc-4965-80fc-0b393231e2e5">
77+
</p>
78+
79+
6380
## Using masks
6481
You can select which 3D render layers LightmapProbeGrid will interact on the section Visual Cull Mask. Only selected layers will be used on detection for the Cut methods above.
6582

0 commit comments

Comments
 (0)