question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple shaders on same Node

See original GitHub issue

I posted it on the React Native repo but because it involved the API, this is the best place for it.

How could I apply multiple/independent shaders to the same Node (texture)? Shouldn’t perhaps be the property shader be shaders and accepting an array?

Very impressive project by the way. Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
grecommented, Mar 1, 2018

so you mean like a pipeline of effect you want to chain? This is done by wrapping components.

for instance

https://gl-react-cookbook.surge.sh/diamondhello

I probably should add an example with even more chaining steps

0reactions
nuthinkingcommented, Mar 1, 2018

(@gre sent you more info about what I am trying to build on Twitter.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shader Editor: graph multiple shader trees simultaneously
You can split your screen into as many Shader Editors as you want (which this post explains well) and pin a different node...
Read more >
Two Shaders on the Same Face in Blender (Front & Backside)
In this tutorial I quickly demonstrate how to use the backfacing output of the geometry node in the shader editor to create double...
Read more >
Multiple Shaders with Shared Node Graph?
I.E. Say I have a complex node set up for a shader that I need to apply to several objects, each with a...
Read more >
How to apply multiple shaders to one sprite2D? : r/godot
Sadly that is the only solution I know of too... You need to make a new shader every time you want to combine...
Read more >
Using multiple shaders using nodes
In the real world, there are many different textures which are seen on a same surface and we need to simulate them to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found