Hi all!
Now talks about RenderNode
- Overview? How it works?
- For what or in what causes I should use custom RenderNode?
- How to initialize custom RenderNode?
- Where I should to use it in my code, should it placed in random place in code or mainnly it used internally in custom components?
Re: Introduction into RenderNode for very begginer:
#2Hey,
You can find more information on Render Nodes on our documentation:
https://docs.cryengine.com/display/SDKD ... +Interface
Let us know if you still have questions after taking a look at this document
.
You can find more information on Render Nodes on our documentation:
https://docs.cryengine.com/display/SDKD ... +Interface
Let us know if you still have questions after taking a look at this document

Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
Re: Introduction into RenderNode for very begginer:
#3thx, now I have some pity experience with RenderNodes

Code: Select all
void ISelectable::Initialize()
{
uint32 flags = ENTITY_SLOT_RENDER;
m_pEntity->LoadGeometry(1, "Assets\\Objects\\selection.cgf");
m_pEntity->SetSlotFlags(1, flags);
m_pEntity->SetViewDistRatio(255);
auto *pMaterial = gEnv->p3DEngine->GetMaterialManager()->LoadMaterial("Assets\\Objects\\selection.mtl");
m_pEntity->SetSlotMaterial(1, pMaterial);
if (IRenderNode* pRenderNode = m_pEntity->GetRenderNode(1))
{
pRenderNode->SetRndFlags(ERF_RENDER_ALWAYS, true);
pRenderNode->SetRndFlags(ERF_HUD, true);
pRenderNode->SetRndFlags(ERF_DISABLE_MOTION_BLUR, true);
}
}