-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#48 Add Shader/BakeDirectional/BakeDirectionalLight.xml (empty) and a…
…djust some value in example
- Loading branch information
1 parent
c7269ed
commit db5fb81
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Assets/BuiltIn/Shader/BakeDirectional/BakeDirectionalLight.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<shaderConfig name="BakeDirectionalLight" baseShader="SOLID"> | ||
<uniforms> | ||
<vs> | ||
<uniform name="uMvpMatrix" type="WORLD_VIEW_PROJECTION" value="0" float="16" matrix="true"/> | ||
<uniform name="uWorldMatrix" type="WORLD" value="0" float="16" matrix="true"/> | ||
<uniform name="uLightDirection" type="WORLD_LIGHT_DIRECTION" value="0" float="4"/> | ||
</vs> | ||
<fs> | ||
<uniform name="uLightColor" type="LIGHT_COLOR" value="1.0,1.0,1.0,1.0" float="4"/> | ||
</fs> | ||
</uniforms> | ||
<resources> | ||
</resources> | ||
<customUI> | ||
</customUI> | ||
<shader type="GLSL" vs="GLSL/BakeLightVS.glsl" fs="GLSL/BakeDirectionalLightFS.glsl" fs_source="GLSL/BakeDirectionalLightFS.d.glsl"/> | ||
<shader type="HLSL" vs="HLSL/BakeLightVS.hlsl" fs="HLSL/BakeDirectionalLightFS.hlsl" fs_source="HLSL/BakeDirectionalLightFS.d.hlsl"/> | ||
</shaderConfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters