Skip to content

Commit

Permalink
Change WaterPSO to anisotropic_repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Apr 8, 2021
1 parent 8b9d395 commit 154ff47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ivis_opengl/gfx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ namespace gfx_api
using WaterPSO = typename gfx_api::pipeline_state_helper<rasterizer_state<REND_MULTIPLICATIVE, DEPTH_CMP_LEQ_WRT_OFF, 255, polygon_offset::disabled, stencil_mode::stencil_disabled, cull_mode::back>, primitive_type::triangles, index_type::u32,
std::tuple<
vertex_buffer_description<12, vertex_attribute_description<position, gfx_api::vertex_attribute_type::float3, 0>>
>, std::tuple<texture_description<0, sampler_type::bilinear_repeat>, texture_description<1, sampler_type::bilinear_repeat>>, SHADER_WATER>;
>, std::tuple<texture_description<0, sampler_type::anisotropic_repeat>, texture_description<1, sampler_type::anisotropic_repeat>>, SHADER_WATER>;

using gfx_tc = vertex_buffer_description<8, vertex_attribute_description<texcoord, gfx_api::vertex_attribute_type::float2, 0>>;
using gfx_colour = vertex_buffer_description<4, vertex_attribute_description<color, gfx_api::vertex_attribute_type::u8x4_norm, 0>>;
Expand Down

0 comments on commit 154ff47

Please sign in to comment.