Subsurface Scattering in BabylonJS

#21

If you want you can download my fork here : graphic-assets/3D-models/Lee-Perry-Smith-Head at master · Vinc3r/graphic-assets · GitHub and use Blender 2.8 to export in a format C4D will like. I’ve also generated a normal map, but in a quick & dirty way, using NormalMap-Online :smiley:

1 Like

#22

Ill give that a look when I get a chance here, and if that fixed it Ill bake out the SSS maps.

1 Like

#23

Good god, you guys are way too fast…hehe, I have the lps head blend file somewhere in my archives but if not: https://www.blendswap.com/blends/view/40095 has a blend file as well. I don’t think we need hi-res textures for SSS dev and testing. A beauty pass in ZBrush with all the skin pores and alphas is a little overkill but you should see the light scatter from the ears. One of the impt pts is to ensure the model is of the right scale as the scattering ‘should’ be dependent on real world scale.

0 Likes

#24

Maybe its the scale that is putting me off, let me see if I can figure that out then. Cause as it is I cant get any SSS effects to display through the ears or anything. And toggling the effect shows no change in the pixel colors even at a sampled level so its definitely not working as is.

0 Likes

#25

Here the head .glb dimensions:

(I’ve made a noob action: importing a 3d model made by other without checking it’s size :smiley: , but compared to a default export using MakeHuman, it looks alright )

0 Likes

#26

Odd, that is the size I have it exported too from C4D… hmm the plot thickens! if I have time to debug it today I will.

0 Likes

#27

Alas, I can’t provide much help here as I don’t use Substance. But it might be best to check with SP if their SSS uses raytracing or screen space to fake the effect. If its the later, then ‘scattering from the ears’ would be unlikely. You should aim to get the SSS on the lips tho or on the dragon model, that would be the minimum baseline.

0 Likes