Shadow mesh
Shadow Mesh for Non-RT Environment
The shadow mesh is This is the mesh required for the vehicle to create shadows in an environment where ray tracing shadows are not used
Shadow mesh doesn't need a lot of polygons. It only needs to have a minimal shape to create a shadow
You don't need stickers, decals, and glass when you make a shadow mesh
The shadow mesh must have the same position value as the original mesh
Shadow mesh
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FQW9jzITTXleLew2kJG9K%252Fimage.png%3Falt%3Dmedia%26token%3D3ffab162-753b-4778-96e7-552b8b5fd916&width=768&dpr=4&quality=100&sign=b341d2f7&sv=1)
Original mesh
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FNNFFJeyht29gnJuinB93%252Fimage.png%3Falt%3Dmedia%26token%3D1ec7f88c-e032-40ab-96e5-505b05157182&width=768&dpr=4&quality=100&sign=85a8f14c&sv=1)
If the following problems occur
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252F1FegkDsbylisMUZss8Cd%252Fimage.png%3Falt%3Dmedia%26token%3Dae374e51-acca-4021-bf8b-65dfac650d6d&width=768&dpr=4&quality=100&sign=daa70155&sv=1)
If you made a shadow mesh and put it in
and
If it looks like the picture above
In the "~shadow.mesh" file
renderResourceBlob -> header -> renderChunkInfos -> rendChunk -> render Mask
![](https://wiki.redmodding.org/~gitbook/image?url=https%3A%2F%2F1427525421-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4gzcGtLrr90pVjAWVdTc%252Fuploads%252FQAjNtZ5uD6HTsz2YM5X1%252Fimage.png%3Falt%3Dmedia%26token%3D6891eca5-bef4-45c5-8d10-2c0098c7310c&width=768&dpr=4&quality=100&sign=6f369045&sv=1)
Turn off options except "MCF_RenderInShadows"
Last updated