Skip to content

EXR importer for Unity

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

strandborg/EXRImporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EXRImporter

EXR importer for Unity Editor.

Currently only Windows platform is supported.

This package includes following native libraries.

Example

using (var exr = new EXRImporter.EXRFile(PathToEXRFile))
{
    Texture2D temp = new Texture2D(file.width, file.height, TextureFormat.RGBAFloat, false);
    var pixels = temp.GetRawTextureData<Color>();
    exr.CopyRGBAData(pixels);
    File.WriteAllBytes("test.exr", temp.EncodeToEXR());
    DestroyImmediate(temp);
}

About

EXR importer for Unity

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%