All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Mobile Compositor Effect Demo Using Raster Shaders

By

BastiaanOlij

2h ago· 2 min readen

Summary

This demo project demonstrates how compositor effects can be implemented on the mobile renderer using a raster shader, as an alternative to the compute shader approach used in Forward+. It reads from the depth buffer and outputs depth data into the color buffer, effectively creating a depth debug mode. The project uses GDScript and supports both Mobile and Forward+ renderers.

Key quotes

· 5 pulled
This demo project shows how compositor effects can be used on the mobile renderer using a raster shader.
This is more limited than the compute shader approach possible in Forward+.
Compute shaders can't be used with the textures for our main render target due to limitations in the usage flags.
This is an example that reads from the depth buffer and then outputs depth data into the color buffer.
Instead of using a compute shader to do the work, we set up a raster pipeline.
Snippet from the RSS feed
This demo shows how a raster shader can be used to create a mobile compositor effect.

You might also wanna read