mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
feat: post-effects array parameters & add gfx.posteffects.set_array & make shadows opacity depending on clouds opacity
This commit is contained in:
parent
02a91e0b72
commit
436a89b066
14 changed files with 223 additions and 78 deletions
|
|
@ -32,6 +32,12 @@ public:
|
|||
void uniform3f(const std::string& name, const glm::vec3& xyz);
|
||||
void uniform4f(const std::string& name, const glm::vec4& xyzw);
|
||||
|
||||
void uniform1v(const std::string& name, int length, const int* v);
|
||||
void uniform1v(const std::string& name, int length, const float* v);
|
||||
void uniform2v(const std::string& name, int length, const float* v);
|
||||
void uniform3v(const std::string& name, int length, const float* v);
|
||||
void uniform4v(const std::string& name, int length, const float* v);
|
||||
|
||||
/// @brief Create shader program using vertex and fragment shaders source.
|
||||
/// @param vertexFile vertex shader file name
|
||||
/// @param fragmentFile fragment shader file name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue