mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Fixed NVIDIA renderering errors, use 'flat in/out int integerValue' instead of 'in/out float integerValue'
This commit is contained in:
@@ -25,7 +25,7 @@ class IMICFPS
|
||||
shader.uniform_vec3("lights[#{i}].specular", light.specular)
|
||||
end
|
||||
|
||||
shader.uniform_float("totalLights", lights.size)
|
||||
shader.uniform_integer("totalLights", lights.size)
|
||||
|
||||
entities.each do |entity|
|
||||
next unless entity.visible && entity.renderable
|
||||
|
||||
Reference in New Issue
Block a user