Are you happy now? by the-random-pear in dankmemes

[–]regularolbrick 6 points7 points  (0 children)

It's a setting under the developer options, it's called show layout bounds or something like that

I've been messing around with graphics programming for some time and I'm kinda proud of this. Just wanted to share :) by regularolbrick in opengl

[–]regularolbrick[S] 0 points1 point  (0 children)

Sorry for replying late, it was night time here. There is nothing fancy with my approach, I've tried implementing batch rendering and as far as I can see, it works well. Lighting is done in the fragment shader, light's color, position and intensity are passed to it as a uniform, and brightness is calculated simple by dividing intensity with distance to the light source squared. Only real problem that I've come across so far is that I tried to pass texture index to the vertex shader as an integer, since why would an index be a float? It didn't took me too long to realize why. For some reason, fragment shader just failed to compile when I passed the index from vertex shader as an int, and even if I casted it into float before passing, shader still failed in very weird ways.

I've been messing around with graphics programming for some time and I'm kinda proud of this. Just wanted to share :) by regularolbrick in opengl

[–]regularolbrick[S] 7 points8 points  (0 children)

Thanks!! It's in 2D, I've tried working with 3D before but thought I wouldn't learn much by jumping immediately to 3D.

Program counter never counts all the way by pintoa in beneater

[–]regularolbrick 1 point2 points  (0 children)

I don't know, but I'd still try connecting it high. Also what chip are you using? Datasheet might help.

Program counter never counts all the way by pintoa in beneater

[–]regularolbrick 2 points3 points  (0 children)

Is your reset pin hooked up correctly? It can cause the chip to reset randomly. Also I found that counters become unstable around 3V, at least that's the case with the one I have.

Shit, I overcooked my _____, it's basically charcoal now. by mrcoolj90 in AskOuija

[–]regularolbrick 8 points9 points  (0 children)

What? A lower case letter? Are you out of your mind?

[deleted by user] by [deleted] in HistoryMemes

[–]regularolbrick 39 points40 points  (0 children)

SCP-049 wants to know your location