Improved particles and trajectory rendering #430
|
@ -170,7 +170,7 @@
|
|||
Angular Ranges And Offset: {x: 6.19999981, y: 1.10000002, z: 0, w: 0.100000001}
|
||||
Rotation Speed: 0.0309999995
|
||||
Rotation Decay: 0.0199999996
|
||||
Texture Asset ID: 0
|
||||
Texture Asset ID: 63456868
|
||||
Custom Update Shader Asset ID: 0
|
||||
IsActive: true
|
||||
Scripts: ~
|
|
@ -590,8 +590,15 @@ namespace YAML
|
|||
SHResourceManager::FinaliseChanges();
|
||||
//gfxSystem->BuildTextures();
|
||||
|
||||
rhs.SetTextureIndex(texture->TextureArrayIndex);
|
||||
rhs.SetTextureAssetID(id);
|
||||
if (texture)
|
||||
{
|
||||
rhs.SetTextureIndex(texture->TextureArrayIndex);
|
||||
rhs.SetTextureAssetID(id);
|
||||
}
|
||||
else
|
||||
{
|
||||
SHLOG_WARNING ("Texture not set for particle emitter component: texture handle is null. ");
|
||||
}
|
||||
}
|
||||
|
||||
if (node[CUSTOM_UPDATE_SHADER_ASSET_ID_TAG.data()].IsDefined())
|
||||
|
|
Loading…
Reference in New Issue