Skip to content

Commit

Permalink
heat_gradient pre-converted to dds
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffyfreak committed Dec 1, 2016
1 parent aa59941 commit f52d67a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added data/textures/heat_gradient.dds
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Ship.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ void Ship::InitMaterials()
const Uint32 numMats = pModel->GetNumMaterials();
for( Uint32 m=0; m<numMats; m++ ) {
RefCountedPtr<Graphics::Material> mat = pModel->GetMaterialByIndex(m);
mat->heatGradient = Graphics::TextureBuilder::Decal("textures/heat_gradient.png").GetOrCreateTexture(Pi::renderer, "model");
mat->heatGradient = Graphics::TextureBuilder::Decal("textures/heat_gradient.dds").GetOrCreateTexture(Pi::renderer, "model");
mat->specialParameter0 = &s_heatGradientParams;
}
s_heatGradientParams.heatingAmount = 0.0f;
Expand Down

0 comments on commit f52d67a

Please sign in to comment.