Forum

#1 2016-06-08 04:43:46

vanderzafa
New member

Understanding Renderpass

I´m trying to do something very simple, but i don't have success.
I wanna just create one more renderlayer and set a new shader, but i can't.

What did i wrong ?



http://postimg.org/image/55hnqyybl/

Offline

 

#2 2016-06-08 06:03:27

soz
Member

Re: Understanding Renderpass

Need to create a new rendergraph and a new pass and link them to the linking menu !


Tristan

Offline

 

#3 2016-06-08 10:13:38

Ben
Guerilla dev, the guy to hug

Re: Understanding Renderpass

Hi,

To complete Soz answer, the same object can't be connected to 2 shaders for the same render pass. In your example, the render graph will merge both shaders, and if you've overridden the same value in both, only one value is used.

To do what you want, you have to create a second RenderPass, then create a second  RenderGraph that is linked to the RenderPass. Make sure you increase the RenderGraph Order so that it is applied after the first one.

Cheers,
Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB