Skip to content

An example of blit cubemaps and blending cubemaps in Unity.

Notifications You must be signed in to change notification settings

wonkee-kim/UnityBlitCubemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Blit Cubemap Example

This Unity project contains two examples of blending cubemaps and blit cubemaps. (Built-in and URP compatible)

1. Blend cubemaps using ReflectionProbe.BlendCubemap

You can blend two cubemaps into one render texture simply by using ReflectionProbe.BlendCubemap(src, dot, blend, target) provided by Unity.

2. Blit cubemaps using Graphics.Blit and Graphics.SetRenderTarget

If you need to blit cubemaps with a custom shader, you can use Graphics.Blit. You can assign a cubemap face to a render target using Graphics.SetRenderTarget.

About

An example of blit cubemaps and blending cubemaps in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published