Open supertuxkart-sourceforge-migration opened 10 years ago
Author: samuncle After doing some tests it appears that the problem is the fog.
When you set a shader to kart, the shader loader tries to get the fog of the track but it's not a track so it fails.
File: material.cpp, line 1356 bool fog = World::getWorld()->getTrack()->isFogEnabled(); ((GrassShaderProvider*)m_shaders[SHADER_GRASS])->enableFog(fog);
I think we need to wait that cand finishes is shader refactoring before changing anything
Author: samuncle
Currently you can only choose shaders for track.
It would be useful to have this feature also for karts
Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/1008