Skip to content

Update the code for LÖVE 11#2

Open
shviller wants to merge 11 commits intoexcessive:masterfrom
shviller:master
Open

Update the code for LÖVE 11#2
shviller wants to merge 11 commits intoexcessive:masterfrom
shviller:master

Conversation

@shviller
Copy link

Note that this is the least effort sort of thing. It still uses the old versions of all the libraries, patching them as necessary; the most egregious being the change to mat4.to_vec4s.

Copy link
Member

@shakesoda shakesoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! mostly looks good to me, but the cpml change should be handled differently. I don't want it to diverge from upstream

{ a[1], a[5], a[9], a[13] },
{ a[2], a[6], a[10], a[14] },
{ a[3], a[7], a[11], a[15] },
{ a[4], a[8], a[12], a[16] }
Copy link
Member

@shakesoda shakesoda Sep 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the correct fix here is actually just changing the arguments to shader:send to indicate that it is transposed - this should also be introduced as a variant of the to_vec4s function in upstream though (or it should take a transpose bool argument)

l3d.new_canvas(w, h, "rgba16f", 1, true), -- color/depth
love.graphics.newCanvas(w, h, "rg11b10f") -- normals
love.graphics.newCanvas(w, h, {format = 'rgba16f'}),
love.graphics.newCanvas(w, h, {format = 'rg11b10f'}) -- normals
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix indentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants