Blender export standard material shadow parameter

At the moment the don’t cast shadow parameter has no effect when the alpha mode is set to opaque.

It is probably by design but it would be nice to have it enabled for opaque materials too.

At the moment the only way to have this parameter working is to set the alpha mode to something other than opaque.

1 Like

Hello,

Do you still encounter the issue ?
I can’t reproduce it.



Regards,
Boris

@Boris
If you use the same blender file I sent you for the other issue yesterday, the shadow issue occurs on this object too.

Setting the ground markings textures to opaque instead of decal even with don’t cast shadows ticked would still cast shadows in game.

I’m using blender 3.6 with the latest version of the exporter that was provided with sdk 1.1.2

Hello @Lw314,

Decals don’t cast shadows, as they should only be exported with Alpha Mode set to Blend.

A fix will be included in the next SDK update to remove the Disable Shadow and Disable Motion Blur checkbox and to ensure the correct extension is added to the exported GLTF (which was previously missing).

Thank you

Regards,
Boris

1 Like

Could you provide the extension name that is missing.

Looking at the schema for geometry decal -

There is an “enabled” boolean property - but I don’t see one in the Material panel for decal.

But examining the gltf there is a mode extension with a value of “default” - this mode property is also not in the material panel.

There is a DECALMODE in the code also. Assuming this is for the mode extension.

RENDERUNDERCLEARCOAT (ext name underClearcoat) is in the mix too, but I see no corresponding gltf extension property

Hello,

The extension missing is the “asobo_material_geometry_decal” and the RENDERUNDERCLEARCOAT is not in the mix, it’s used in the decal extension when it’s value is false as :
image

Thank you,

1 Like

Ok thanks - I see mode is a “hidden” extension that does not require it to be shown - based on decal, geodecal_frosted and geodecal_blendmask.

I see the underClearCoat when set to false

Thanks

1 Like

Hello,

Can you confirm that this has been fixed in the latest SU1 Flighting with SDK Core 1.2.3?

Note: You will need to export your GLTF using the Blender exporter included in SDK 1.2.3.

Regards,
Boris