Skip to content

Commit

Permalink
tweak texture smoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
fallahn committed Nov 4, 2024
1 parent b6429a2 commit 151f1c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crogine.sln
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,8 @@ Global
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|Any CPU.ActiveCfg = Release|Win32
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|ARM.ActiveCfg = Release|Win32
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|ARM64.ActiveCfg = Release|Win32
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x64.ActiveCfg = Release|x64
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x64.Build.0 = Release|x64
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x64.ActiveCfg = ReleaseGNS|x64
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x64.Build.0 = ReleaseGNS|x64
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x86.ActiveCfg = Release|Win32
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release|x86.Build.0 = Release|Win32
{B1559428-CDF8-4797-8766-0EA62BDD6D1B}.Release-asan|Any CPU.ActiveCfg = Release-asan|Win32
Expand Down
4 changes: 2 additions & 2 deletions samples/golf/buildnumber.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ifndef BUILD_NUMBER_H_
#define BUILD_NUMBER_H_

#define BUILDNUMBER 7184
#define BUILDNUMBER_STR "7184"
#define BUILDNUMBER 7187
#define BUILDNUMBER_STR "7187"

#endif /* BUILD_NUMBER_H_ */
3 changes: 2 additions & 1 deletion samples/golf/src/scrub/ScrubAttractState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ void ScrubAttractState::addSystems()
void ScrubAttractState::loadAssets()
{
m_environmentMap.loadFromFile("assets/images/hills.hdr");
m_scrubTexture.create(1500, 1500);
m_scrubTexture.create(1500, 1500, true, false, 2);
m_scrubTexture.setSmooth(true);

//load menu music
auto id = m_resources.audio.load("assets/arcade/scrub/sound/music/menu.ogg", true);
Expand Down
2 changes: 1 addition & 1 deletion samples/golf/src/scrub/ScrubConsts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ source distribution.

#include <cstdint>

#define HIDE_BACKGROUND
//#define HIDE_BACKGROUND

static constexpr inline float BucketOffset = 10.f;
static constexpr inline glm::vec3 BucketSpawnPosition = glm::vec3(BucketOffset, 7.f, 0.f);
Expand Down

0 comments on commit 151f1c0

Please sign in to comment.