• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Conditional Shader parameters in Painter shader API

New Here ,
Nov 07, 2024 Nov 07, 2024

Copy link to clipboard

Copied

Hi there, I've been working on a custom shader for our team to be able to reproduce our in-engine shaders and for the most part the shader API has been great for that. 

but as the shader grows, we're getting more and more parameters and controls and the shader settings menu is starting to become a bit of a nest. 
Is it possible to have some //:param elements or groups conditionally hide, sort of the same way as the displacement & tesselation menu can be hidden with the Enable tickbox. 
I've been using the groups and that definitely helps but only to a degree. 
Having nested groups would be another alternatice i can see helping. 

Thanks!

TOPICS
Discussion , Scripting

Views

51

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources