While MG broken (Patreon)
Content
Update from 25.03.2020
- Added shadow disabling for sun light (by request)
- Added glow for EyePass, EyePass2 (by request)
- Added displacement functionality to CustomModel pass (by request)
Glow fro eyes:
Use blue channel of stage 3 and parameter glow_intensity (pass file) to adjust glowing effect
Displacement for clothing:
This is simple displacement function and it don't use tessellation - it's just can move vertices of mesh in direction of vertex normal. There is some things that you need to know - we have many cloth items with unwelded normals (later on MG I'll show pictures) and if you will try displacement, you will get teared mesh - this is the reason why I did not implemented this functionality earlier, second - texture with displacement should not be large, I meant that 4k textures for this case has no any sence.
You need use stage4 for CustomModel pass and hook5 expect displacement data in red channel of texture (for now), also use "displacement_scale" parameter of pass file. The white of texture will be max displacement and with displacement_scale = 1 it will move vertices by 0,1m