Skip to content

Commit

Permalink
blender_light_mask: Set the diffuse sampler.
Browse files Browse the repository at this point in the history
The samples aren't actually used, but we should at least make it valid.
  • Loading branch information
CrossVR committed Mar 24, 2016
1 parent c1edd05 commit c47e38c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Layers/xrRenderPC_GL/blender_light_mask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void CBlender_accum_direct_mask::Compile(CBlender_Compile& C)
//C.r_Pass ("null", "accum_sun_mask", false, FALSE,FALSE,TRUE,D3DBLEND_ZERO,D3DBLEND_ONE,TRUE,1);
//C.r_Pass ("stub_notransform","accum_sun_mask", false, FALSE,FALSE,TRUE,D3DBLEND_ZERO,D3DBLEND_ONE,TRUE,1);
C.r_Pass ("stub_notransform_t","accum_sun_mask_nomsaa", false, FALSE,FALSE,TRUE,D3DBLEND_ZERO,D3DBLEND_ONE,TRUE,1);
C.r_Sampler_rtf ("s_diffuse", r2_RT_albedo);
C.r_Sampler_rtf ("s_normal", r2_RT_N);
C.r_Sampler_rtf ("s_position", r2_RT_P);
C.r_ColorWriteEnable(false, false, false, false);
Expand Down

0 comments on commit c47e38c

Please sign in to comment.