Search found 5 matches
- Sat Sep 16, 2023 4:48 pm
- Forum: Support and Development
- Topic: Is it possible to create CubeImage arrays?
- Replies: 2
- Views: 1307
Re: Is it possible to create CubeImage arrays?
I see thank you. I wanted to use them because I have several cubemaps I'm using inside my shader for omnidirectional shadow mapping and the compiler doesn't support sampler variable indexing. My current solution is to hard-code going through an array of them (below they're in in point_light_shadow_m...
- Sat Sep 16, 2023 3:21 am
- Forum: Support and Development
- Topic: Is it possible to create CubeImage arrays?
- Replies: 2
- Views: 1307
Is it possible to create CubeImage arrays?
If I run
I get
there's only one layer, are cubeimage arrays supported?
Code: Select all
local cubemap_array = love.graphics.newCanvas(1024,1024,10,{type="cube",format="depth16",readable=true})
print(cubemap_array:getTextureType())
print(cubemap_array:getLayerCount())
Code: Select all
cube
1
- Sun Sep 10, 2023 1:29 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1804
- Views: 1722515
Re: What's everyone working on? (tigsource inspired)
i've been learning about 3D rendering and modelling for the first time, here's what I have so far. there's more things like point lights&quadtree view culling I could add but I want to move on making the actual game&assets, it'll be an RPG with a chess battle system. https://github.com/pszer...
- Sun Sep 03, 2023 3:08 am
- Forum: Support and Development
- Topic: love_Canvases undeclared identifier, cannot get shader to compile
- Replies: 2
- Views: 1135
Re: love_Canvases undeclared identifier, cannot get shader to compile
Removing the comment fixed it tysm!
- Sun Sep 03, 2023 1:52 am
- Forum: Support and Development
- Topic: love_Canvases undeclared identifier, cannot get shader to compile
- Replies: 2
- Views: 1135
love_Canvases undeclared identifier, cannot get shader to compile
Hello I'm writing shader code that writes to multiple canvses, but keep getting Version 11.4.0 - Mysterious Mysteries Error: Error validating pixel shader code: Line 211: ERROR: 'love_Canvases' : undeclared identifier Line 211: ERROR: 'love_Canvases' : left of '[' is not of type array, matrix, or ve...