implement billboard shader and add new example
This commit is contained in:
@@ -32,8 +32,7 @@ namespace OpenVulkano
|
||||
vec = Math::Utils::normalize(vec);
|
||||
}
|
||||
|
||||
float timeScale = CURRENT_FRAME.frameTime; //TODO
|
||||
|
||||
float timeScale = 5 * CURRENT_FRAME.frameTime; //TODO
|
||||
vec = vec * timeScale * 3.0f; // scale vector
|
||||
if (input->GetButton(m_actionBoost))
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace OpenVulkano
|
||||
|
||||
class FreeCamCameraController final : public CameraController
|
||||
{
|
||||
float m_yaw = 0, m_pitch = 0, m_boostFactor = 2;
|
||||
float m_yaw = 0, m_pitch = 0, m_boostFactor = 1.5;
|
||||
Math::Vector3f_SIMD m_position = { 0, 0, 0 };
|
||||
|
||||
Input::InputAction* m_actionForward;
|
||||
|
||||
Reference in New Issue
Block a user