Search found 23 matches

by siberian
Sun Dec 15, 2024 4:19 pm
Forum: General
Topic: Retro handheld consoles anyone?
Replies: 31
Views: 19134

Re: Retro handheld consoles anyone?

marclurr wrote: Sat Dec 14, 2024 7:11 am By this do you mean that Löve was pre installed with the with the community build?
ArkOS has Love2D 11.4 after this topic.
I had to update the OS on my device to get love2d.
by siberian
Thu Dec 12, 2024 9:41 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1804
Views: 1722526

Re: What's everyone working on? (tigsource inspired)

Looks great!
Froyok wrote: Sun May 26, 2024 12:21 pm [*]Dynamic lights (point, spot and directional light) all with casting shadows (via shadow volume)
Is there a problem when the view position is inside the shadow volume?
by siberian
Sun Mar 17, 2024 4:48 pm
Forum: Games and Creations
Topic: 3D Physics Engine
Replies: 16
Views: 30226

Re: 3D Physics Engine

It looks great!
by siberian
Mon Jan 02, 2023 3:23 pm
Forum: Support and Development
Topic: [Closed] Change stencil when depth test fails
Replies: 5
Views: 1981

Re: [Closed] Change stencil when depth test fails

slime wrote: Mon Jan 02, 2023 3:17 pm I think pretty much all 3D games these days use shadow mapping (which love does expose functionality for) instead of shadow volumes.
I haven't made friends with the shadow maps yet :3 . So far I have only had problems with them.
But I think I'll learn someday.
Thank you.
by siberian
Mon Jan 02, 2023 3:02 pm
Forum: Support and Development
Topic: [Closed] Change stencil when depth test fails
Replies: 5
Views: 1981

Re: [Closed] Change stencil when depth test fails

slime wrote: Mon Jan 02, 2023 2:09 pm love doesn't support that right now. What sort of thing would you use it for?
For stencil shadows with "Carmack’s Reverse".
It's okay if it doesn't work, I'll do something else.
2023-01-02_21h58_12.png
2023-01-02_21h58_12.png (202.75 KiB) Viewed 1928 times
by siberian
Mon Jan 02, 2023 9:13 am
Forum: Support and Development
Topic: [Closed] Change stencil when depth test fails
Replies: 5
Views: 1981

[Closed] Change stencil when depth test fails

Hello.
Is it possible to increase or decrease the value in the stencil only if the pixel is not affected by the stencil function in love.graphics.stencil?
by siberian
Tue Jul 26, 2022 4:25 pm
Forum: Support and Development
Topic: [SOLVED] love.graphics.stencil problem
Replies: 4
Views: 2849

Re: love.graphics.stencil problem

Thank you so much.
I can't believe I didn't notice that option.
by siberian
Tue Jul 26, 2022 12:37 pm
Forum: Support and Development
Topic: [SOLVED] love.graphics.stencil problem
Replies: 4
Views: 2849

Re: love.graphics.stencil problem

I have seen this example.
I don't really need a circle with a hole in it. I ran into a problem when I was making shadows in 3d. And for that you need to draw the shadow volume twice in the stencil with different StencilAction.
by siberian
Tue Jul 26, 2022 8:02 am
Forum: Support and Development
Topic: [SOLVED] love.graphics.stencil problem
Replies: 4
Views: 2849

[SOLVED] love.graphics.stencil problem

Hello everyone. I used two calls love.graphics.stencil() function in my program. local function stencil_test() lg.circle('fill', cx, cy, radius) end function love.draw() local w, h = lg.getDimensions() lg.setCanvas({canvas, stencil = true}) lg.clear(0.2, 0.2, 0.2) cx, cy, radius = w/2, h/2, 200 lg.s...
by siberian
Thu Nov 25, 2021 4:33 am
Forum: Libraries and Tools
Topic: Menori - LÖVE library for simple 3D and 2D rendering
Replies: 10
Views: 38977

Re: Menori - LÖVE library for simple 3D and 2D rendering

There is a comment in file lighting.glsl

Code: Select all

// love2d use row major matrices by default, we have column major and need transpose it.
// 11.3 love has bug with matrix layout in shader:send().
vec4 position(mat4 transform_projection, vec4 vertex_position) {
      ...
}
What kind of bug?