Questions tagged [shaders]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

More efficient webgl animated color interpolation?

The code below creates an animated, four-cornered gradient with vertex and fragment shaders in WebGl. When I run it in the browser, the fans on my MacBookPro (2.2 GHz Quad-Core Intel Core i7 with ...
0
votes
1answer
29 views

Reviewing my shader class for efficient use

Im just trying to setup my shader function in a class in a way that would make me work with it easier and in a more understandable way. In Shader.h: ...
1
vote
0answers
35 views

Shader for 1-bit color palette + a VFX ramp

I'm making a Unity game with a "1-bit" color palette, a la Downwell - the vast majority of the screen will end up being in black and white, but unlike true 1-bit graphics, some highlights ...
3
votes
1answer
449 views

Unity surface shader to blend between adjacent tiles

I'm experimenting in Unity with a tile-based game with crisp 32x32 tile textures and pixel perfect camera. I did not like the results coming from Unity's default ...
1
vote
0answers
35 views

OpenGL fragment shader optimization questions [closed]

My (simple) game engine has one big fragment shader for the whole scene. Right now, with multiple objects, collision detection and bloom post-processing (4 linear passes) I get frame times of ~18ms ...
7
votes
2answers
342 views

2D Real-Time Ray-tracing

I've written a 2D ray-tracer in GLSL ES for GameMaker for dynamic lighting. I've also written a blog post on how it works... though it is out-dated. I am looking to have JUST my shaders reviewed to ...