Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

18.4: Texture - WebGL and p5.js Tutorial

45.4K views
•
December 26, 2017
by
The Coding Train
YouTube video player
18.4: Texture - WebGL and p5.js Tutorial

TL;DR

Implementing image textures on 3D geometries in p5 WebGL for visual effects.

Transcript

hello in this video about WebGL in p5 I'm going to attempt to explain something and implement something and that is adding a texture to some geometry so I'm kind of checking off this list and by the way a couple things that I've now realized I've missed is I've only shown you in terms of geometry primitives and there are some other ways right in th... Read More

Key Insights

  • ❓ Preloading images and applying textures enhances the visual experience with image overlays on 3D geometries.
  • 🖐️ Lighting effects play a crucial role in how textures interact with 3D objects, creating shadows and reflections.
  • 🤗 Using live video feeds as texture sources opens up dynamic and interactive texturing possibilities in p5 WebGL.
  • 🛃 Future developments may include custom geometry creation and loading external 3D models for diverse texturing options.
  • 🍱 Texture mapping on various 3D primitives like planes, boxes, spheres, and torus demonstrates the versatility of p5 WebGL.
  • 〽️ Experimenting with different lighting setups can alter how textures appear on geometries, influencing the overall visual impact.
  • ❓ Exploring shading and shadowing techniques can enhance the realism and depth perception of textured 3D objects in p5 WebGL.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How can you add image textures to 3D geometries in p5 WebGL?

You can preload images using the preload function, then apply the texture to geometries using the texture() function for visual enhancements.

Q: What role does lighting play in texturing 3D objects?

Lighting affects how textures interact with geometries, casting shadows and reflections based on the light source's position and properties.

Q: Can you use live video as a texture source in p5 WebGL?

Yes, you can utilize live video feeds as texture sources by using createCapture() to capture video elements for dynamic texture mapping.

Q: What future possibilities exist for advanced texturing in p5?

Exploring custom geometry creation with beginShape() and endShape(), as well as loading 3D models like .obj files for unique texturing opportunities.

Summary & Key Takeaways

  • Demonstrates adding image textures to 3D primitives like planes, boxes, spheres, and torus.

  • Shows how to preload images, apply textures, and control lighting effects in p5.

  • Discusses potential future topics like custom geometry and loading 3D models.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train
Computer Mouse Conference Demos! (node.js + tensorflow.js) thumbnail
Computer Mouse Conference Demos! (node.js + tensorflow.js)
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.