1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

Use a special sampler for 2D shadows, so they are softer

This commit is contained in:
Juan Linietsky
2019-07-08 09:53:40 -03:00
parent f04359e70f
commit a3f8ffac63
4 changed files with 42 additions and 21 deletions

View File

@@ -293,6 +293,7 @@ class RasterizerCanvasRD : public RasterizerCanvas {
RID lights_uniform_buffer;
RID canvas_state_buffer;
RID shadow_sampler;
//uniform set for all the above
RID canvas_state_uniform_set;