0 votes
by (8.2k points)

How to make a program to detect bright spots in camera's field of vision I want to spawn enemies from the bright spots so it doesn't seem random In the AR project.

It's just an idea Like enemies pop up randomly in games others created so I wanted to put in an extra feature Can the camera detect bright pixels? How do I access that information?

I want to be able to adjust spawn points in real time as the camera detects bright spots in the environment.

Well, I realised that would require a whole new set of programming.

1 Answer

0 votes
by (8.2k points)

  • You can just make the spawn points brighter.

  • Add a particle effect on the spawn points.
  • Enemy spawns only from the spawn points.


     
TechXR runs courses in AR / VR / Metaverse / Game Development. Some of the popular Q&A in our courses are available here for easy discovery.

113 questions

117 answers

8 comments

99.7k users

...