You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This RenderStates is used to override the values in the final draw packet, if the values are valid; it's supposed to be initialized to invalid values, but it wasn't. So the depth compare function was getting set to Less instead of GreaterEqual. This wasn't a problem when using serialized assets from disk, because the deserialization uses the default constructor which did initialize m_renderStatesOverlay. No all Item constructors initialize m_renderStatesOverlay. Signed-off-by: santorac <55155825+santorac@users.noreply.github.com> Signed-off-by: Guthrie Adams <guthadam@amazon.com> |
4 years ago | |
|---|---|---|
| .. | ||
| LuaMaterialFunctor.cpp | 4 years ago | |
| MaterialAsset.cpp | 4 years ago | |
| MaterialAssetCreator.cpp | 4 years ago | |
| MaterialAssetCreatorCommon.cpp | 4 years ago | |
| MaterialDynamicMetadata.cpp | 4 years ago | |
| MaterialFunctor.cpp | 4 years ago | |
| MaterialPropertiesLayout.cpp | 4 years ago | |
| MaterialPropertyDescriptor.cpp | 4 years ago | |
| MaterialPropertyValue.cpp | 4 years ago | |
| MaterialTypeAsset.cpp | 4 years ago | |
| MaterialTypeAssetCreator.cpp | 4 years ago | |
| MaterialVersionUpdate.cpp | 4 years ago | |
| ShaderCollection.cpp | 4 years ago | |