Skip to content

Commit

Permalink
Update shaders.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ivder authored Jan 12, 2024
1 parent 763aa07 commit f8f057c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ will see there is a material attach to the **material** attribute named **HISPla
This material is using the custom shader **HISPlayer/HISPlayerDefaultShaderRawImage**.
For more details, you can check the following folders and files:

- **Packages/HISPlayer Android SDK/HisPlayer/Scripts/Shaders/** - Here you can find the custom shaders. These files contain the code to simulate the Gamma color space when using Linear color space.
- **Packages/HISPlayerSDK/HisPlayer/Scripts/Shaders/** - Here you can find the custom shaders. These files contain the code to simulate the Gamma color space when using Linear color space.
- **HISPlayerDefaultShader.shader**
- **HISPlayerDefaultShaderRawImage.shader**

<p align="center">
<img width = "600" alt="image" src="https://github.com/HISPlayer/UnityAndroid-SDK/assets/47497948/2df21e45-cac0-4acc-8617-0ea460c29518">
</p>

- **Packages/HISPlayer Android SDK/HisPlayer/Resources/Materials/** - Here you can find 3 different Unity materials:
- **Packages/HISPlayerSDK/HisPlayer/Resources/Materials/** - Here you can find 3 different Unity materials:
- **HISPlayerDefaultMaterial.mat**: It uses the **HISPlayerDefaultShader.shader** and can be used for the HISPlayer RenderMode “Material”.
- **HISPlayerDefaultMaterialRawImage.mat**: It uses the **HISPlayerDefaultShaderRawImage.shader** and can be used attaching the material to the material attribute of the RawImage component.
- **HISPlayerDefaultMaterialRenderTexture.mat**: It uses the HISPlayerDefaultShader.shader and the HISPlayerDefaultRenderTexture.renderTexture.
Expand All @@ -32,5 +32,5 @@ For more details, you can check the following folders and files:
<img width = "600" alt="image" src="https://github.com/HISPlayer/UnityAndroid-SDK/assets/47497948/962fd08d-c31e-4b74-9d14-23d11bf5b458">
</p>

- **Packages/HISPlayer Android SDK/HisPlayer/Resources/RenderTextures/**
- **Packages/HISPlayerSDK/HisPlayer/Resources/RenderTextures/**
- **HISPlayerDefaultRenderTexture.renderTexture** - This file is a custom RenderTexture to be used with the **HISPlayerDefaultMaterialRenderTexture.mat**.

0 comments on commit f8f057c

Please sign in to comment.