Location To Weight map

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Re: Location To Weight map

Post by Pancho » 25 Feb 2012, 01:50

P.S.: I understand why it get lit in the shadow area, but how do I approach this thing to avoid it???

Chris_TC
Posts: 411
Joined: 22 Mar 2010, 17:43

Re: Location To Weight map

Post by Chris_TC » 25 Feb 2012, 11:35

Raycast from every point on your mesh towards the light (with the Normal offset of course). If you hit the mesh, this point is in shadow. If you don't hit the mesh, the point is lit.

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: Location To Weight map

Post by EricTRocks » 26 Feb 2012, 11:08

Using Chris_TC's logic here is a screen grab for a working ICE Tree setting the weight map value as I believe you need.
Attachments
RaycastToWeightmap2.jpg
RaycastToWeightmap2.jpg (124.32 KiB) Viewed 1371 times
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

Post Reply

Who is online

Users browsing this forum: No registered users and 81 guests