Access a Material Parameter at run time

I was wondering if there was a way to link flowgraph and a material parameter.
Basically, what i'm trying to do is raytrace from the playercamera, and when it hit a flagged material, a parameter start to increase.
I was talking with themodman101 and apparently this functionnality seems broken... is there is a way to do that in 5.X ?

Re: Access a Material Parameter at run time

There is a node called Material:EntityMaterialParams or Material:MaterialParams that allows you to change specific settings of a material.
ChangingMaterialParams.PNG (11.2 KiB) Viewed 5708 times

If you want to change something else that this node doesn't allow you to change you will most likely need to create a whole new material and swap the material using the Material:SetObjectMaterial or the Material:EntityMaterialChange nodes.
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Who is online

Users browsing this forum: No registered users and 1 guest