Search found 21 matches
- Sun Mar 17, 2024 4:48 pm
- Forum: Games and Creations
- Topic: 3D Physics Engine
- Replies: 16
- Views: 29214
Re: 3D Physics Engine
It looks great!
- Mon Jan 02, 2023 3:23 pm
- Forum: Support and Development
- Topic: [Closed] Change stencil when depth test fails
- Replies: 5
- Views: 1811
Re: [Closed] Change stencil when depth test fails
I haven't made friends with the shadow maps yet . So far I have only had problems with them.
But I think I'll learn someday.
Thank you.
- Mon Jan 02, 2023 3:02 pm
- Forum: Support and Development
- Topic: [Closed] Change stencil when depth test fails
- Replies: 5
- Views: 1811
- Mon Jan 02, 2023 9:13 am
- Forum: Support and Development
- Topic: [Closed] Change stencil when depth test fails
- Replies: 5
- Views: 1811
[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?
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?
- Tue Jul 26, 2022 4:25 pm
- Forum: Support and Development
- Topic: [SOLVED] love.graphics.stencil problem
- Replies: 4
- Views: 2693
Re: love.graphics.stencil problem
Thank you so much.
I can't believe I didn't notice that option.
I can't believe I didn't notice that option.
- Tue Jul 26, 2022 12:37 pm
- Forum: Support and Development
- Topic: [SOLVED] love.graphics.stencil problem
- Replies: 4
- Views: 2693
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.
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.
- Tue Jul 26, 2022 8:02 am
- Forum: Support and Development
- Topic: [SOLVED] love.graphics.stencil problem
- Replies: 4
- Views: 2693
[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...
- 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: 38588
Re: Menori - LÖVE library for simple 3D and 2D rendering
There is a comment in file lighting.glsl
What kind of bug?
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) {
...
}
- Tue Sep 21, 2021 7:00 am
- Forum: Games and Creations
- Topic: Lead Haul - Old-school space pirate FPS
- Replies: 36
- Views: 65338
Re: Lead Haul - Old-school space pirate FPS
Very nice!
- Thu Oct 29, 2020 5:28 am
- Forum: Support and Development
- Topic: 2d collision with rotated pictures
- Replies: 12
- Views: 12618
Re: 2d collision with rotated pictures
so the main idea is to check if a dot from one of these polygon is inside the other one, is'nt it ? Sorry, it's hard for me to explain it in English. If you want to check if the two boxes intersect, then you need to check if the center of the first object is included in the polygon obtained as a Mi...