You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
-Initial working(?) implementation of shaders for 2D. Lighting still not there though.
Check for reference: https://github.com/okamstudio/godot/wiki/shader
This commit is contained in:
@@ -210,6 +210,8 @@ public:
|
||||
virtual void shader_set_default_texture_param(RID p_shader, const StringName& p_name, RID p_texture)=0;
|
||||
virtual RID shader_get_default_texture_param(RID p_shader, const StringName& p_name) const=0;
|
||||
|
||||
virtual Variant shader_get_default_param(RID p_shader, const StringName& p_name)=0;
|
||||
|
||||
/* COMMON MATERIAL API */
|
||||
|
||||
virtual RID material_create()=0;
|
||||
|
||||
Reference in New Issue
Block a user