Skip to content

Commit

Permalink
Minor texture property tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ashea-code committed Feb 17, 2015
1 parent c2655b7 commit 7c02cd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Blu/Private/BluEye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ void UBluEye::ResetTexture()
DestroyTexture();

// init the new Texture2D
Texture = UTexture2D::CreateTransient(Width, Height);
Texture->Filter = TF_MAX;
Texture = UTexture2D::CreateTransient(Width, Height, PF_B8G8R8A8);
Texture->AddToRoot();
Texture->LODGroup = TEXTUREGROUP_UI;
Texture->CompressionSettings = TC_EditorIcon;
Texture->Filter = TF_Default;
Texture->UpdateResource();

ResetMatInstance();
Expand Down

0 comments on commit 7c02cd7

Please sign in to comment.