Hi, maybe I found problem in this file: mittsu-0.3.3/lib/mittsu/renderers/opengl/textures/texture.rb :)
As you can see:
if wrap_s != ClampToEdgeWrapping || wrap_t != ClampToEdgeWrapping OR min_filter != NearestFilter && min_filter != LinearFilter outputs warning, and interpolates #{texture.source_file}, but texture is actually undefined.
I don't know what it needs to be instead of undefined texture, because of that I can't create PR with fix
Hi, maybe I found problem in this file:
mittsu-0.3.3/lib/mittsu/renderers/opengl/textures/texture.rb
:)As you can see:
if wrap_s != ClampToEdgeWrapping || wrap_t != ClampToEdgeWrapping
ORmin_filter != NearestFilter && min_filter != LinearFilter
outputs warning, and interpolates#{texture.source_file}
, buttexture
is actually undefined.I don't know what it needs to be instead of undefined
texture
, because of that I can't create PR with fix.