Search found 7 matches
- Sat Nov 21, 2015 6:57 pm
- Forum: Support and Development
- Topic: GLSL: buffering pixel data (non-linear frag shader)
- Replies: 1
- Views: 1416
GLSL: buffering pixel data (non-linear frag shader)
I've recently been writing a raycaster, it's currently functioning and displaying everything properly, but my main issue here is optimization. Since I don't know how to buffer data to push on later to the frag shader, I cast rays for each pixel of the game's resolution, making what could be a 2D, he...
- Fri Nov 20, 2015 10:02 am
- Forum: Support and Development
- Topic: Share a Shader!
- Replies: 328
- Views: 621229
Re: Share a Shader!
I did a voxelcaster with GLSL akin to Commanche, an old DOS game.
It's quite slow and I've got no idea how to optimize it further.
It's quite slow and I've got no idea how to optimize it further.
- Sun Jul 19, 2015 8:47 am
- Forum: General
- Topic: A suggestion to improve font workflow
- Replies: 7
- Views: 4271
Re: A suggestion to improve font workflow
This will involve the whole new subsystem creation to do scaling of font outlines. And effect that you want is IMHO too rare to be integrated into framework. As I mentioned here https://love2d.org/forums/viewtopic.php?f=4&t=79923&p=182325&hilit=inkscape#p182325 you can draw all needed l...
- Fri Jul 17, 2015 2:00 pm
- Forum: General
- Topic: A suggestion to improve font workflow
- Replies: 7
- Views: 4271
Re: A suggestion to improve font workflow
Love's scaling only scales the rasterized text, not the original vectors. And I really don't want to clutter my code with tons of font objects.
- Fri Jul 17, 2015 10:09 am
- Forum: General
- Topic: A suggestion to improve font workflow
- Replies: 7
- Views: 4271
Re: A suggestion to improve font workflow
Hi, I don't understand how that would prevent redundancy. Could you give a more complete example of what you mean? Instead of creating multiple instances of font = love.graphics.newFont("font.ttf", 12) you could just use font:setSize(12) to handle size shifting whenever the HUD or Menus r...
- Fri Jul 17, 2015 8:57 am
- Forum: General
- Topic: A suggestion to improve font workflow
- Replies: 7
- Views: 4271
A suggestion to improve font workflow
I would really appreciate a font:setSize() to prevent redundancy. If there's already a way to set size without big hassle, excuse my invalid complaint.
- Mon Mar 16, 2015 9:39 am
- Forum: General
- Topic: Image scaling filters?
- Replies: 1
- Views: 1481
Image scaling filters?
I've been messing around with a raycasting library and I've been bothered about how filtering is handled. Using 256x256 and 256x512 resolution textures and sprites doesn't really do much for up-close views of these resources. Nearest neighbour is just plain unfancy and linear filtering is just plain...