Coding 3D graphics with light reflections using GLM-5 | Alpha | PandaiTech

Coding 3D graphics with light reflections using GLM-5

Press play on the video. It'll jump straight to the section that answers the title above — no need to watch the full video.
GLM-5 HTML Three.js Coding 3D

A guide to writing HTML and WebGL code using simple prompts to generate 3D scenes featuring realistic reflection physics.

Advantages of Regular Chat Mode

Use 'regular chat' mode instead of 'agents' if your task does not require overly complex steps or a very long reasoning process, as it is much faster.

Tip for Realistic Reflections

By default, the AI might not enable the 'mutual reflection' feature (objects reflecting other objects). You need to specify this in your prompt so the AI writes the reflection logic between the two objects.

Dynamic Color Testing

When you change an object's color or material (e.g., to 'Gold'), observe how the reflection color on adjacent objects updates automatically to ensure the light physics are accurate.

More from AI-Powered Coding & App Development

View All