How to promote shader parameters in Reality Composer Pro

Right click a constant node & click. "Promote to Material". Promoting parameters allows you to dynamically adjust values in code.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 08/27/2024 at 13:38
Last Updated on 08/27/2024 at 13:54
<p>A flower that represents Reality Composer Pro with the text “Custom Material” beneath it.</p>

Right click a constant node & click. "Promote to Material". Promoting parameters allows you to dynamically adjust values in code.

Subscribe
<p>A screenshot of Reality Composer Pro showing you how to promote a constant.</p>

To promote a parameter to a promoted input, select the material and in the Shader Graph right click the constant node and select "Promote to Material."

This will cause the node to shift in color from purple to blue, indicating that it is a promoted input.

<p>A screenshot of Reality Composer Pro showing you that a promoted input has a blue color (previously purple).</p>

For more information on promoted inputs and creating custom shader materials in Reality Composer Pro, please consult the WWDC sessions and articles linked below.

Apple Developer: Designing RealityKit content with Reality Composer ProApple: Explore materials in Reality Composer Pro (WWDC23)Apple: Work with Reality Composer Pro content in Xcode (WWDC23)

Looking to learn more about Augmented Reality, Design and Technology?

Search our blog to learn more about A/R, design and technology.

Search our Blog

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
SubscribeContact UsVisit our BlogView our ServicesView our Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe