StrawberrySmiles
Sponsor
I'm trying to figure out what an elderly elf would look like. I can't imagine the typical "hunched back" look. I'm thinking like super thin and bony, but I don't know.
To do any kind of transparent shader effect you need to copy your destination frame-buffer to a temporary texture, then when you render your character with the shader you use that temporary texture as the texture source and set the texture co-ordinates to be screen-space, then you can apply any shader effect you want (use a normal map to warp it about or blur or whatever).ZenVirZan":10vhdrp9 said:reopeneing my project for the first time in forever
i want to make a thermoptic camo ability
dicked around with shaders for a bit but couldnt achieve what i want
i think i may need to do it manually
each character's segments (head, body, arms, gun) are just drawn straight to the screen right now. i think i may need to create a texture for each character which the parts are drawn on to before theyre pasted on screen. i dont know how expensive this would be though.
if theres only going to be like 6 characters at once, would i be able to get away with making entire screen framebuffers for drawing characters to save doing some math, or should i really find the most optimal way first time? im not sure how different sized framebuffers play with each other
EDIT: seriously considering restarting the project from scratch, its all written so messily that its probably the reason i stopped working on it in the first place
Here's a simple ray-caster; http://lodev.org/cgtutor/raycasting.htmlZenVirZan":10vhdrp9 said:if i have a 2d tilemap and want to write my own raycasting solution, how would i do it?
the system i have atm is i iterate along the line in small segments, and for each segment i check the tiles near it in a 3x3 around the start point of the segment, and run a line-through-box test on it to find if it intersects
my implementation may just be a bit jank though because going up and right works fine, but down and left randomly misses and i cant tell why
Xilef":3fa0eq1b said:Here's a simple ray-caster; http://lodev.org/cgtutor/raycasting.html
Somehow I believe this might be my fault.coyotecraft":3gw9is1i said:I've had the SSJ3 Theme music in my head all day.
StrawberrySmiles":3bl6qu08 said:... this is both a UI and resolution test. :D
BizarreMonkey":1w23w65r said:I cannot wait to show you fellas!