#[Unity 6.3] How do i pass a bool keyword from a main shader graph to a sub graph?

1 messages · Page 1 of 1 (latest)

worn patrol
#

I have a shader graph shader that has a main height map and a detail height map. All the detail map stuff is inside a sub graph so I want to pass my main graph's "Detail Parallax On" boolean keyword to the subgraph so I can handle the main vs detail branching there.

I tried making the keyword in the subgraph and enabling "Is Overridable" which didn't seem to do anything. I tried enabling "Promote to final shader" but I didn't notice any difference in the main graph's properties, the subgraph node's properties in the main graph, or the specific node settings of that subgraph node.

heady lichen
worn patrol
heady lichen
#

does the one in the sub* graph need to be a keyword too? cause you can pass from boolean keyword to boolean

small frost