mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Add u_invModelView uniform to shader and documentation (#3421)
This commit is contained in:
@@ -3244,6 +3244,7 @@ namespace bgfx
|
||||
/// - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
|
||||
/// - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
/// model matrix from array is used.
|
||||
// - `u_invModelView mat4` - inverted model view matrix.
|
||||
/// - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
/// - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
///
|
||||
|
||||
@@ -2167,6 +2167,7 @@ BGFX_C_API void bgfx_destroy_frame_buffer(bgfx_frame_buffer_handle_t _handle);
|
||||
* - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
* model matrix from array is used.
|
||||
* - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
* - `u_invModelView mat4` - inverted concatenated model view matrix.
|
||||
* - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
*
|
||||
* @param[in] _name Uniform name in shader.
|
||||
|
||||
Reference in New Issue
Block a user