(11-22-2023, 05:09 PM)OysterMug Wrote:[To see links please log-in or register here]
I want to fix my Door Toy before uploading it and I need some help from someone knowledgeable about scripting.
When I put a window in the door, most (not all) hairs disappear. I know it's a "layer priority" issue, but I'm not sure how to fix it.
Can anyone help?
Side:
Through glass:
Thx
UPDATE: I found that changing the .txf file from "AlphaBlend/WriteZ" to just "AlphaBlend", the hair returns, but the door becomes translucent.
In the Scenes bs look for this block and modify (or add if necessary) the line in BOLD :
RenderShader :local_Door_MATERIAL . {
RenderShader.Surface ShaderPhong :local_Door_PHONG;
RenderShader.MultiDrawLayer I32(38);
Object.Name "Door_material";
};
The value (38) needs to be greater than that of the Hair - most are set around the 38 mark, so this may need to be in the 39-42 range.
You will probably also need to change the .txf to AlphaBlend/AlphaMask/WriteZ