Replies: 1 comment 1 reply
-
main_screen_material = scene.world_parameters['MainScreenPassShader']
if main_screen_material and main_screen_material.shader:
self.draw_screen_pass(main_screen_material.shader['MAIN_PASS'], self.rt_final) main_screen_material.shader['MAIN_PASS'].textures['THE_NAME_OF_YOUR_SAMPLER2D_UNIFORM'] = self.t_pgbuffer_color |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
panthavma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I was trying to do a simple two pass shader in a custom pipeline as follows:
I've been making some progress, but I'm a bit stumped as of what is the best way to do it in Malt.
At the moment, I managed to make the first pass work along with lighting. Here's my pipeline:
I'm a bit confused on these points:
TypeError: 'MaterialProxy' object is not subscriptable
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions