Skip to content

Commit

Permalink
Remove currently unused native cubemaps from shader variants
Browse files Browse the repository at this point in the history
  • Loading branch information
LGhassen committed Dec 19, 2021
1 parent 6935055 commit c8e55eb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions Assets/Shaders/CloudShadow.shader
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Shader "EVE/CloudShadow" {
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile WORLD_SPACE_OFF WORLD_SPACE_ON
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1 //MAP_TYPE_CUBE_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif

#include "alphaMap.cginc"
#include "cubeMap.cginc"
Expand Down
8 changes: 4 additions & 4 deletions Assets/Shaders/GeometryCloudVolumeParticle.shader
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Shader "EVE/GeometryCloudVolumeParticle" {
#pragma fragmentoption ARB_precision_hint_fastest
#pragma multi_compile_fwdbase
#pragma multi_compile SOFT_DEPTH_OFF SOFT_DEPTH_ON
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1 //MAP_TYPE_CUBE_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif

#include "noiseSimplex.cginc"
#include "alphaMap.cginc"
Expand Down
8 changes: 4 additions & 4 deletions Assets/Shaders/GeometryCloudVolumeParticleToTexture.shader
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ Shader "EVE/GeometryCloudVolumeParticleToTexture" {
#pragma fragmentoption ARB_precision_hint_fastest
#pragma multi_compile_fwdbase
#pragma multi_compile SOFT_DEPTH_OFF SOFT_DEPTH_ON
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1 //MAP_TYPE_CUBE_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif

#include "noiseSimplex.cginc"
#include "alphaMap.cginc"
Expand Down
8 changes: 4 additions & 4 deletions Assets/Shaders/ScreenSpaceCloudShadow.shader
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Shader "EVE/ScreenSpaceCloudShadow" {
#pragma glsl
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1 //MAP_TYPE_CUBE_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif

#include "alphaMap.cginc"
#include "cubeMap.cginc"
Expand Down
2 changes: 1 addition & 1 deletion Assets/Shaders/SphereCloud.shader
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Shader "EVE/Cloud" {
#pragma multi_compile_fwdbase
#pragma multi_compile SOFT_DEPTH_OFF SOFT_DEPTH_ON
#pragma multi_compile WORLD_SPACE_OFF WORLD_SPACE_ON
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1
#pragma multi_compile MAP_TYPE_1 MAP_TYPE_CUBE2_1 MAP_TYPE_CUBE6_1 //MAP_TYPE_CUBE_1
#ifndef MAP_TYPE_CUBE2_1
#pragma multi_compile ALPHAMAP_N_1 ALPHAMAP_1
#endif
Expand Down

0 comments on commit c8e55eb

Please sign in to comment.