diff --git a/data/shader/phong.fsh b/data/shader/phong.fsh index ee2a029..e9edd68 100644 --- a/data/shader/phong.fsh +++ b/data/shader/phong.fsh @@ -272,7 +272,7 @@ void main() for(int i = 0; i(renderQueue.at(i_pointlight))->isFlame()) { position = std::get<0>(renderQueue.at(i_pointlight))->getPosition(); - position = glm::vec3(position.x + 0.75f*wind.x, position.y, position.z + 0.75f*wind.y); + position = glm::vec3(position.x - 0.75f*wind.y, position.y, position.z + 0.75f*wind.x); } else { position = std::get<0>(renderQueue.at(i_pointlight))->getPosition();