Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8883807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:54:23+00:00 2026-06-14T20:54:23+00:00

I have a code in HLSL which aims to simulate the IBL (Image-based light

  • 0

I have a code in HLSL which aims to simulate the IBL (Image-based light http://en.wikipedia.org/wiki/Image-based_lighting). To simulate the IBL is necessary to have a texture from “world” around the object, I want to dynamically generate the texture by the position of the object. I have 2 problems:

• How to generate a texture of the world in 360 degrees around the object? I need 6 cameras of 45 degrees each, or is possible do this with only one?

• I already know how to map a cubic texture with “sampleCUBE” but I have the same image in the 6 sides, how do I get each side has its own texture?

https://i.stack.imgur.com/Iz6RZ.png

the IBL is present in games like Forza 4 and Crysys 2.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:54:24+00:00Added an answer on June 14, 2026 at 8:54 pm

    You may need 6 renders (might be 2 or 4 if you set huge FOV but it will result in distortion and will be harder to work with) or you can render it in single pass if you can use cubemap as render target or use some sort of rendering to spherical map link Without full picture you will not have enough data to work with. But those renders may include very basic shaders and low resolution output. Also you do not need to refresh them each frame instead you can move texture a bit and refresh each 5 frames for close object and each 10 for far objects. And most important is that you need “Image Based Light” only on visible parts so you may use only up to 3 passes instead 6.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have code which has a drop down list. And when a certain option
I have code that reloads images via HTTP from the main thread and displays
I have been trying to create a simple point light in HLSL for a
I have the code below which works for the purpose of what I need
I have code that controls a mutex lock/unlock based on scope: void PerformLogin() {
I have code, which is using System.Net and System.Net.NetworkInformation references, it generates a list
I have code which makes a plot of a two-dimensional array. Along the x-axis
I have code which returns some other page (Google) in a popup (child) window.
I have code like this: (and on jsfiddle http://jsfiddle.net/k6zNm/3/ ) (function(){ Marker = function(opts){
I have code in which, I have got compressed data and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.