Skip to content

Blit Render Feature for Universal RP's Forward Renderer. Set specific source/destination. Allows blit to happen after post processing with the After Rendering event.

Notifications You must be signed in to change notification settings

oceancx/URP_BlitRenderFeature

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blit Renderer Feature

Based on the Blit from the UniversalRenderingExamples

Extended to allow options for :
• Specific access to selecting a source and destination (via current camera's color / texture id / render texture object
• Automatic switching to using _AfterPostProcessTexture for After Rendering event, in order to correctly handle the blit after post processing is applied
• Setting a _InverseView matrix (cameraToWorldMatrix), for shaders that might need it to handle calculations from screen space to world. For example, reconstructing world position from depth, see : https://twitter.com/Cyanilux/status/1269353975058501636

Only tested with 2020.1.2f1 and URP v8.2.0.

@Cyanilux
:)

About

Blit Render Feature for Universal RP's Forward Renderer. Set specific source/destination. Allows blit to happen after post processing with the After Rendering event.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%