Page MenuHomeFeedback Tracker

Changing Water emat Material directly
Assigned, UrgentPublic

Description

This is what i used to change the water emat parameters directly via script. But it seems like this functionality got removed.
Can you show me an easy way to convert my old code to the new system?

		Material matColors = GetGame().GetWorld().GetMaterial("test3_map/Chiemsee/Ludwig_OBJCET/lug_water/data/customwaterkanal");

		matColors.SetParam("WaterExtinction",11111);
		matColors.SetParam("SunPower",0);

thank you!

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Lugge2 created this task.Sep 14 2023, 9:01 PM
Geez changed the task status from New to Assigned.Sep 15 2023, 11:26 AM