Skip to content
プロジェクト

Cyanilux/URP_BlitRenderFeature

GitHubで見る

概要

Universal RP 用の Blit Render Feature。付属の Fullscreen Pass Renderer Feature よりも少し柔軟に使えます。

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Blit Renderer Feature

  • Used to apply fullscreen image effects to camera using a shader/material, or copy camera to offscreen buffer, etc. Similar to Fullscreen Pass Renderer Feature but a little bit more flexible.
  • Tested with Unity 6.3 LTS (6000.3.6f1). May work in earlier Unity 6 versions but untested. For even older, see branches.

Issues/Info :

  • Source texture is always cameraColor.
  • When using custom material/shader :
    • For graphs, must use Fullscreen Graph type. Use URP Sample Buffer node to obtain Blit Source.
    • For shader code, requires specific vertex shader. Sample _BlitTexture for source. Refer to https://www.cyanilux.com/faq/#fullscreen-shader (FragBlit there samples _BlitTexture for you)
  • "After Rendering" event doesn't work iirc. Use "After Rendering Post Processing" instead.
  • Compared to older versions, support for passing a global texture or RenderTexture asset into source has been removed. More details can be found in code comments. If these are needed, can still use a custom material/shader to sample that instead of Blit Source/_BlitTexture.
    • If sampling global textures, can use the list on the feature to declare/import them to RenderGraph. This may be important for global textures generated by other render passes to ensure they are still "alive".
  • Setting _InverseView matrix has also been removed (but shouldn't be needed as matrices aren't overriden with Blitter API, and Fullscreen Graph reconstructs world positions for you when using Position node anyway)

Setup:

  • Install via Package Manager → Add package via git URL :
    • https://github.com/Cyanilux/URP_BlitRenderFeature.git
  • Alternatively, download and put the folder in your Assets

Relevant Links / Resources :

関連プロジェクトを探す

読み込み中…