Jump to content

Has any way to use a custom shader render?


tooyamk
 Share

Recommended Posts

prolly is.  We just need you to describe your end goal a little better.

cause I mean you can use before and after Camera render callbacks, to toggle what ever shaders you need for what ever purpose.

But we kinda need more info, we dont see what you see in your head.

Link to comment
Share on other sites

22 minutes ago, Pryme8 said:

prolly is.  We just need you to describe your end goal a little better.

cause I mean you can use before and after Camera render callbacks, to toggle what ever shaders you need for what ever purpose.

But we kinda need more info, we dont see what you see in your head.

I need at each frame  use a custom shander render meshes to a  rendertexture, like depthbuffer.

Unity has a simple method, camera.renderWIthShader(customShader), so i dont know bjs whether there is also a simple method, otherwise the only manual management.

Link to comment
Share on other sites

Yeah, this stuff is kinda gray area for me I just hack around with it or ask @Deltakosh till I get it right. 

I’ve done what you are asking before but don’t have access the the example at the moment.  If you are not able to figure it out reping me and I’ll look for the example.

Link to comment
Share on other sites

8 minutes ago, Pryme8 said:

Yeah, this stuff is kinda gray area for me I just hack around with it or ask @Deltakosh till I get it right. 

I’ve done what you are asking before but don’t have access the the example at the moment.  If you are not able to figure it out reping me and I’ll look for the example.

Ok, I will try, Thank you for your help:)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...