Skip to content

post processing testing#1093

Draft
kfarr wants to merge 4 commits intomainfrom
post-processing-demo
Draft

post processing testing#1093
kfarr wants to merge 4 commits intomainfrom
post-processing-demo

Conversation

@kfarr
Copy link
Collaborator

@kfarr kfarr commented Feb 26, 2025

Just a test to see if I can get any post processing to work so I started with the "known good" A-Frame example:
https://aframe.io/aframe/examples/showcase/post-processing/

it's working [1] but bloom is not really something we need right now

Instead, ambient occlusion could help a lot for low poly scenes. Perhaps next task is trying to adapt an ssao or similar demo from three.js examples.

If we want to better show of bloom either we'd need some art work: need hdri skybox that pops better or do a night scene and add emissive or bright flat color to streetlights, building windows, vehicle lights, signals

Also for fun would be field of view post processing.

"Blueprint style" scene outlines

screenshot (70)

sort of works, but not really
@kfarr kfarr changed the title barely working bloom post processing testing Feb 26, 2025
@kfarr
Copy link
Collaborator Author

kfarr commented Feb 26, 2025

the most recent commit was an attempt to get ssao working based on this three.js example:
https://threejs.org/examples/webgl_postprocessing_ssao.html

however even cranking the settings up to the max, and switching to standard depth buffer, and using ssao debug to show just the ao texture, it only produces a very faint ssao effect which isn't very visible. [2] it's oddly dependent on position of objects from camera -- objects further away appear darker.

In any case, maybe it's time to look up some other ssao effects like
https://github.com/N8python/n8ao
or
https://threejs.org/examples/?q=ambient#webgl_postprocessing_sao
or
https://threejs.org/examples/?q=ambient#webgl_postprocessing_gtao

[2]

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant