Skip to content

Commit

Permalink
使用浮点数初始化 float GLSL 变量
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleG committed Jan 4, 2025
1 parent 3b7b612 commit 2362ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ end
-- Initialize shader parameters
for k,v in next,{
gaussianBlur={
{'smpCount',10}, -- min(400 * radius, 40)
{'smpCount',10.0}, -- min(400 * radius, 40)
{'radius',0.026},
},
darker={{'k',0.4}},
Expand Down

0 comments on commit 2362ca1

Please sign in to comment.