Skip to content

Commit

Permalink
game_dir: glsl: fixed shader compiling error on terrain maps
Browse files Browse the repository at this point in the history
  • Loading branch information
SNMetamorph committed Sep 3, 2023
1 parent 8391525 commit 610d3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game_dir/glsl/forward/scene_bmodel_fp.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void main( void )
albedo = colormap2D( u_ColorMap, vec_TexDiffuse );
#endif

#if !defined( ALPHA_BLENDING ) && !defined( USING_SCREENCOPY )
#if !defined( ALPHA_BLENDING ) && !defined( USING_SCREENCOPY ) && !defined( APPLY_TERRAIN )
albedo.a = AlphaRescaling( u_ColorMap, vec_TexDiffuse, albedo.a );
#endif
#if defined( ALPHA_TO_COVERAGE )
Expand Down

0 comments on commit 610d3c4

Please sign in to comment.