Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Dolkar · Jun 21, 2013 at 06:11 PM · shadershadowpipeline

Is it possible to alter the shadow rendering pipeline?

I'd like to implement this: http://www.vrvis.at/publications/pdfs/PB-VRVis-2009-022.pdf

tl;dr: It's a technique of rendering accurate soft shadows with very little cost. Instead of rendering multiple shadow maps with different offsets every frame, it renders them over time, accumulating the result in a buffer, which is then used for the lighting pass. This results in high quality shadows with dynamic lights that don't move rapidly, such as the sun crossing the sky.

So, is it possible, targeting for deferred path, to modify the Unity's rendering pipeline to allow me to store a persistent buffer to accumulate the shadows? I'm aware of the Hidden/Internal-PrePassCollectShadows shader, but how can I pass it such a buffer, and more importantly, store the output so it can be passed to it again the next frame?

Thanks for any and all help!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dolkar · Jun 22, 2013 at 07:25 AM 0
Share

Should I take it as a no?

avatar image Dolkar · Jun 24, 2013 at 11:49 AM 0
Share

Alright.. I'm a bit disappointed.. one would think such a powerful engine allows for some amount of control over the backend for those who understand it. What if I want to fiddle with the insides to optimize the rendering for my user case or go with a completely custom rendering path altogether? What if a new faster / better algorithm is revealed and I want to implement it, but whoops, I can't, because this engine has zero level of control? You can't just assume things.

avatar image Benproductions1 · Jun 25, 2013 at 09:42 AM 0
Share

I'm afraid what you're asking will never become reality.
(I$$anonymous$$O) Unity will never release access to stuff like the rendering pipeline etc. For what you're asking means that basically Unity would become "Open Source".

Saying that this engine has "zero level of control" is just bs. Unity is a very high level tool, and you have to treat it as such! If you want more control, feel free to use an open source game engine, and build from there :P

Hope this helps,
Benproductions1

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Shadow Support in Custom Shader 0 Answers

Edge outline & 2D shadow Shader for planar mesh 0 Answers

Render game like 'Shadow cascade' mode 1 Answer

Question about Unity's Shader Graphs and Low End Pipeline 0 Answers

Leaf displacement shader that works for LWRP doesn't work with HDRP and gives odd results. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges