Looooong / Unity-SRP-VXGI

Voxel-based Global Illumination using Unity Scriptable Render Pipeline
MIT License
766 stars 62 forks source link

How to display Text in VXGI #31

Open Wenzy-- opened 4 years ago

Wenzy-- commented 4 years ago

I tried to create "GameObject - UI - Text" in VXGI mode. But the text didn't show. Although i set the font material to VXGI material,it just shows a bunch of rectangles~

Looooong commented 4 years ago

The text material doesn't need to use VXGI shader. I suppose that I haven't setup the UI rendering in the render pipeline. I will check this out later.

Looooong commented 4 years ago

I have checked the Text UI. If no material is assigned to the text, it is displayed normally. Do you want to assign material to the text?

andywatts commented 3 years ago

This tute discusses UI elements in custom SRP https://catlikecoding.com/unity/tutorials/custom-srp/custom-render-pipeline/

Looooong commented 3 years ago

@andywatts That tutorial only discusses how to display UI geometry in Scene View. In Game View, the UI is rendered in a separated pipeline.